Click here to Skip to main content
16,011,542 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a Problem

How to Auto Click On Radio Button List


regards,

vicky
Posted
Comments
pradiprenushe 14-Sep-12 5:59am    
Auto click means?
V_R 14-Sep-12 6:04am    
Post your question completely. Your requirement is like by default you want to select one Radio Button right..?

1 solution

ASP.NET
<asp:radiobuttonlist runat="server" id="rblUsers" xmlns:asp="#unknown">
    <asp:listitem text="User 1"></asp:listitem>
    <asp:listitem text="User 2"></asp:listitem>
</asp:radiobuttonlist>


Code Behind :
C#
rblUsers.Items[0].Selected = true;
 
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