Click here to Skip to main content
14,828,290 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m new to n i m tryin to work wit datagrid.
my prob is tat...when i click the header checkbox all d checkbox in the first page is selected n when i go to d sec page in datagrid..the checkbox are not selected in the sec page..but i want the sec page checkbox to be selected as well..i used onitemdatabound..but looks like when i click the sec default d header checkbox is unchecked..pls help me wit tis...
Karthik Harve 6-Dec-11 0:56am
display some code..

Member 8459400 6-Dec-11 1:50am
but i m talking abt the header checkbox..when i click the header checkbox all the other checkbox will be selected ..i want the sec page checkbox to be selected when i click the header checkbox on the first page
you can use
<asp:gridview xmlns:asp="#unknown">AllowPaging="True|False" />

AllowPaging Property
for checkbox take a look of this article
Checkbox inside GridView Control

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900