Chekcbox In Header

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

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!
 
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>
 
Back
Top