Chekcbox In Header

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!
 
W

Wayne

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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top