Home All Groups Group Topic Archive Search About
Author
22 Jun 2006 12:18 AM
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?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Author
22 Jun 2006 5:11 AM
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

Show quoteHide quote
"David Thielen" <thielen@nospam.nospam> wrote in message
news:A7395C13-3D41-4D6E-81F6-46EC3EE64CE8@microsoft.com...
> 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?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>