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. Advertising

  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. 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. kris
    Replies:
    0
    Views:
    525
  2. kris
    Replies:
    0
    Views:
    489
  3. kris
    Replies:
    1
    Views:
    5,250
  4. Suresh
    Replies:
    2
    Views:
    408
    Suresh
    Apr 22, 2004
  5. pw

    Check All Check Boxes

    pw, May 24, 2005, in forum: Javascript
    Replies:
    8
    Views:
    139
    Lasse Reichstein Nielsen
    May 25, 2005
Loading...

Share This Page