Reputation: 183
I want to create a label control and also, I want to put the border around the label control. I want to show a radio button inside that border so something like this
<table>
<tr>
<td>
<asp:label ID="lblJCN" Text="JCN" runat="server" ackColor="#808080" Width="100px"
Height="30px" BorderWidth="1px" BorderColor="#333333"></asp:label>
</td>
</tr>
<tr>
<td>
<asp:RadioButton ID="rdbJCN" runat="server" Text="or" />
</td>
</tr>
</table>
I want Or radio button to be inside the label control lblJCN border. Is it possible to do that?
any help will be appreciated.
Upvotes: 0
Views: 96
Reputation: 15111
If I understand your requirements correctly, to achieve having the label with a border and a radio button inside, try this
<fieldset>
<legend><asp:label ID="lblJCN" Text="JCN" runat="server" ackColor="#808080" width="100px"></asp:label></legend>
<asp:RadioButton ID="rdbJCN" runat="server" Text="or" />
</fieldset>
Upvotes: 1