I have an existing RadioButtonList on a page and need to set the second button to be checked as default instead of the first.
I probably need to do it with javascript on the page as I cannot edit the original control.
<list:RadioButtonList runat="server" Class="class" Text="text"
AlternativeText="alternative text" />
Any idea how i can detect the control and set its default value?
If you use ASP.NET you can set the following:
I’ve added the attribute Selected=”True”, so you always have a default value selected.
You can also do this in code: