Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > radiobuttons - no list

Reply
Thread Tools

radiobuttons - no list

 
 
David Thielen
Guest
Posts: n/a
 
      06-22-2006
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

 
Reply With Quote
 
 
 
 
ValliM
Guest
Posts: n/a
 
      06-22-2006
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

"David Thielen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a list of radiobuttons with a specfic format Net Developer ASP .Net Web Controls 3 06-08-2005 06:57 PM
best way to process a group of radiobuttons? Carlos ASP .Net 0 02-18-2005 03:32 PM
Looping through dataset outputting HTML radiobuttons Robert H ASP .Net 0 12-04-2003 11:02 PM
RadioButtons & DataGrid RB ASP .Net 0 08-11-2003 04:29 PM
Radiobuttons and textbox with autopost Sean ASP .Net 1 08-06-2003 12:32 AM



Advertisments