Chekcbox In Header

Discussion in 'ASP .Net' started by Jim Heavey, Nov 5, 2003.

  1. Jim Heavey

    Jim Heavey Guest

    Hello, I was wondering if ther was a way that you could place a checkbox
    control ing the header of a datagrid?

    Thanks in advance for your assistance!



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Jim Heavey, Nov 5, 2003
    #1
    1. Advertising

  2. Jim Heavey

    Wayne Guest

    Hi!

    Create a TemplateColumn and place the checkbox in the
    HeaderTemplate. :) Place in FooterTemplate and make sure
    you have ShowFooter=true if you want it in the footer. :)

    for example:
    <asp:TemplateColumn>
    <HeaderTemplate>
    Add?
    <asp:CheckBox id="chkAddAll"
    Runat="server"></asp:CheckBox>
    </HeaderTemplate>
    </asp:TemplateColumn>

    >-----Original Message-----
    >Hello, I was wondering if ther was a way that you could

    place a checkbox
    >control ing the header of a datagrid?
    >
    >Thanks in advance for your assistance!
     
    Wayne, Nov 5, 2003
    #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. Newsgroup - Ann
    Replies:
    4
    Views:
    729
    lilburne
    Nov 2, 2003
  2. John Smith

    Header files included in header files

    John Smith, Jul 21, 2004, in forum: C Programming
    Replies:
    18
    Views:
    624
    Jack Klein
    Jul 24, 2004
  3. Replies:
    3
    Views:
    1,330
    Walter Roberson
    May 1, 2006
  4. mlt
    Replies:
    2
    Views:
    880
    Jean-Marc Bourguet
    Jan 31, 2009
  5. JP SIngh

    Chekcbox ASP - Any easy ways to handle them

    JP SIngh, Aug 9, 2005, in forum: ASP General
    Replies:
    3
    Views:
    128
    Bullschmidt
    Aug 13, 2005
Loading...

Share This Page