E
Elmo Watson
I have a different type of situation - I need a list of checkboxes,
displayed in a table (in one column), with the second column being a
textbox, related to that checkbox item......But I need a Value also related
to that checkbox...
Here's the deal (in a table GUI like I need it to be) :
<table border="1">
<tr>
<td align="left" valign="top"><asp:CheckBox Text="Email"
Runat="Server"></asp:CheckBox></td>
<td align="left" valign="top"><asp:TextBox id="txtEmail"
Runat="server" /></td>
</tr>
<tr>
<td align="left" valign="top"><asp:CheckBox Text="Fax"
Runat="Server"></asp:CheckBox></td>
<td align="left" valign="top"><asp:TextBox id="txtFax" Runat="server"
/></td>
</tr>
</table>
If I use a checkboxlist, I get to assign a value to each item - but it
doesn't line up as cleanly as I need it to be...If I use an ASP Checkbox, it
doesn't have a value property -
any ideas on how I can accomplish this?
displayed in a table (in one column), with the second column being a
textbox, related to that checkbox item......But I need a Value also related
to that checkbox...
Here's the deal (in a table GUI like I need it to be) :
<table border="1">
<tr>
<td align="left" valign="top"><asp:CheckBox Text="Email"
Runat="Server"></asp:CheckBox></td>
<td align="left" valign="top"><asp:TextBox id="txtEmail"
Runat="server" /></td>
</tr>
<tr>
<td align="left" valign="top"><asp:CheckBox Text="Fax"
Runat="Server"></asp:CheckBox></td>
<td align="left" valign="top"><asp:TextBox id="txtFax" Runat="server"
/></td>
</tr>
</table>
If I use a checkboxlist, I get to assign a value to each item - but it
doesn't line up as cleanly as I need it to be...If I use an ASP Checkbox, it
doesn't have a value property -
any ideas on how I can accomplish this?