Click here to Skip to main content
16,016,925 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i m new to asp.net 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 page..by default d header checkbox is unchecked..pls help me wit tis...
thanks
Posted
Comments
Karthik Harve 6-Dec-11 0:56am    
display some code..

 
Share this answer
 
v2
Comments
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
C#
<asp:gridview xmlns:asp="#unknown">AllowPaging="True|False" />
</asp:gridview>

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

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