Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
While checking the radio buttons, I didn't able to check only one radio button.. all radio buttons checked evenly..
Posted
Comments
Deepu S Nair 19-Jan-15 7:46am    
so what is your question?
CHill60 19-Jan-15 7:48am    
Apart from including a question you will also need to include the code you used to either create the radio buttons or check them

XML
<asp:radiobuttonlist id="RadioButtonList1" runat="server" xmlns:asp="#unknown">
<asp:listitem>one
<asp:listitem>two
<asp:listitem>three




string val=RadioButtonList1.SelectedItem.Text

or
int val=Convert.ToInt32(RadioButtonList1.SelectedValue.Tostring());
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900