Hi,
I have a gridview with paging option. I want to maintain the state of the checkbox column in gridview for each page.
I used vb.net coding.
I used the following link for this purpose,
http://aspalliance.com/774_Maintaining _State_of_Check Boxes_While_Pag ing_in_a_GridVi ew_Control
It worked properly.
But when i check all the checkbox of page1 in gridview and click the next page, it shows that all checkbox of page2 is checked.
I know the reason for it. Because the index of the gridview row for each page will start from zero only. This causes the problem.
My requirement: I will check 2 checkbox in page1 of gridview and 1 check box in page2. I want to maintain their individual page state checkbox.
Please help me.
I have a gridview with paging option. I want to maintain the state of the checkbox column in gridview for each page.
I used vb.net coding.
I used the following link for this purpose,
http://aspalliance.com/774_Maintaining _State_of_Check Boxes_While_Pag ing_in_a_GridVi ew_Control
It worked properly.
But when i check all the checkbox of page1 in gridview and click the next page, it shows that all checkbox of page2 is checked.
I know the reason for it. Because the index of the gridview row for each page will start from zero only. This causes the problem.
My requirement: I will check 2 checkbox in page1 of gridview and 1 check box in page2. I want to maintain their individual page state checkbox.
Please help me.
Comment