How to add the aspx.cs code to get the selected value of radio button as per the aspx page as shown in the screenshot below?

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/273355

سؤال

enter image description here

This is the code for retrieving the Question and options dynamically from SharePoint list. How to get the value of selected radio buttons and store it to a variable using the C# or SP code. Can anyone please help me with this?

Thanks in advance.

هل كانت مفيدة؟

المحلول

Try below

RadioButton rb = (RadioButton)(repeater.FindControl("RadioButton1"));
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top