Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi I have a mulitple radio button list in my webpage

my code is as follows
XML
<asp:RadioButtonList ID="Q2_rb" runat="server" CssClass="idradio1" RepeatLayout="Flow" RepeatDirection="Horizontal">

                           <asp:ListItem Text="Yes" Value="0"></asp:ListItem>
                           <asp:ListItem Text="No" Value="1"></asp:ListItem>

                           <asp:ListItem Text="Recomended" Value="2"></asp:ListItem>
                           <asp:ListItem Text="Doesnotapply" Value="3"></asp:ListItem>

                       </asp:RadioButtonList>



ASP.NET
<asp:TextBox ID="Q2_txt"  CssClass="idtxt1"  runat="server">

when user click on the Other than Yes from the asp radiobutton list it should be enbled .please tell me genric function for this
Posted
Updated 5-Sep-13 2:02am
v3
Comments
Thanks7872 5-Sep-13 7:54am    
it should be enabled What is 'it'? Why you tagged question as JQuery?
[no name] 5-Sep-13 7:56am    
when user select the no ,recommendation , Does not apply text box should be required . I want Generic function for this
Mahesh Bailwal 5-Sep-13 9:03am    
What do you mean by “it should be enbled”. Please elaborate.

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