Different kind of Checkbox question

Discussion in 'ASP .Net' started by Elmo Watson, Apr 13, 2005.

  1. Elmo Watson

    Elmo Watson Guest

    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?
     
    Elmo Watson, Apr 13, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    0
    Views:
    537
    tshad
    Apr 15, 2005
  2. Scott Smedley

    A different kind of adaptor iterator

    Scott Smedley, Dec 5, 2003, in forum: C++
    Replies:
    4
    Views:
    416
    Scott Smedley
    Dec 7, 2003
  3. ANSHUL
    Replies:
    13
    Views:
    478
    Mark McIntyre
    Jul 5, 2006
  4. Replies:
    17
    Views:
    451
    BBands
    Jan 27, 2009
  5. karthikbalaguru

    A different kind of subtraction ?

    karthikbalaguru, Mar 3, 2009, in forum: C Programming
    Replies:
    5
    Views:
    309
    Ben Bacarisse
    Mar 4, 2009
Loading...

Share This Page