Dear All,
Maintaining checkbox state while paging in gridview.
when a checkbox is checked and navigated to next page and then back to page one i'm not getting the selected checkbox as selected.
Printable View
Dear All,
Maintaining checkbox state while paging in gridview.
when a checkbox is checked and navigated to next page and then back to page one i'm not getting the selected checkbox as selected.
Whenever a new page is requested, a postback obviously occurs for you. Take all the checked values in the current page and store it in the session variable. Or add it to an existing structure in your session object. You'll need to maintain the checked checkboxes yourself.