Check boxes on a Datagrid

Discussion in 'ASP .Net Datagrid Control' started by Robert E. Flaherty, Jun 23, 2005.

  1. Can you have check boxes on a datagrid and if so, where could I get the
    details and possibly a sample or two.
     
    Robert E. Flaherty, Jun 23, 2005
    #1
    1. Advertisements

  2. Yes in a TemplateColumn. An example:

    <asp:TemplateColumn HeaderText="Group Rights">
    <ItemTemplate>
    <asp:CheckBox Runat="server" ID="chbUserGroupRight"
    Enabled="False"></asp:CheckBox>
    </ItemTemplate>
    </asp:TemplateColumn>


    Eliyahu

    "Robert E. Flaherty" <> wrote in message
    news:O3cLRQ$...
    > Can you have check boxes on a datagrid and if so, where could I get the
    > details and possibly a sample or two.
    >
    >
     
    Eliyahu Goldin, Jun 23, 2005
    #2
    1. Advertisements

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. kris
    Replies:
    0
    Views:
    679
  2. kris
    Replies:
    0
    Views:
    605
  3. kris
    Replies:
    1
    Views:
    5,731
  4. ahmad_n80
    Replies:
    0
    Views:
    553
    ahmad_n80
    Jul 21, 2007
  5. Scott
    Replies:
    0
    Views:
    616
    Scott
    Aug 21, 2007
  6. Suresh
    Replies:
    2
    Views:
    504
    Suresh
    Apr 22, 2004
  7. pw

    Check All Check Boxes

    pw, May 24, 2005, in forum: Javascript
    Replies:
    8
    Views:
    346
    Lasse Reichstein Nielsen
    May 25, 2005
  8. babu17
    Replies:
    1
    Views:
    230
Loading...