radiobuttons - no list

D

David Thielen

Hi;

I need to do the following:
<asp:RadioButton ID="numDays" runat="server" Text="Every" /><asp:TextBox
ID="dayNumCycle" runat="server"></asp:TextBox> day(s)<br />
<asp:RadioButton ID="weekdays" runat="server" Text="Every weekday"/>

which I think means no RadioButtonList. How do I set it so each time one is
selected, the other goes off?
 
V

ValliM

Hi David,

You can get one radiobutton selected at a time, by placing it in Group as
given below.
<asp:RadioButton ID="numDays" runat="server" Text="Every"
GroupName="Radio1"/>

<asp:TextBox ID="dayNumCycle" runat="server"></asp:TextBox> day(s)<br />

<asp:RadioButton ID="weekdays" runat="server" Text="Every weekday"
GroupName="Radio1"/>

Regards,

Valli
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top