Author: joejr | Posted on: 10/16/2009 12:25:35 PM | Views : 277

I'm trying to have an additional asp:label and asp:textbox on the same line as an asp:RadioButtonListControl so the output looks like the following:
Smoker: oYes oNo How Long? ______
No matter what I do the "How Long?" label control which follows the RadioButtonListControl  always appears on the next line like:
Smoker: oYes oNo
How Long? ______
The code I'm using is:
<tr>
 <td>
  <asp:Label ID="lblSmoker" Text="Smoker?:" runat="server" />
 </td>
 <td>
  <asp:RadioButtonList ID="rbSmoker" runat="server" RepeatDirection="Horizontal">
   <asp:ListItem Value="Y" Selected="True"> Yes </asp:ListItem>
   <asp:ListItem Value="N"> No </asp:ListItem>
  </asp:RadioButtonList>< ...

Go to the complete details ...