I have HTML page which have multiple checkboxes and individually they can be checked. I have checkbox in header of the table and when I click on this checkbox on header then it should select all the checkboxes should get selected, and when I click again on the same checkbox all the checkboxes should get deselected from all pages.
In my original program there are thousands of records, but at a time 10 records are getting display, but when user click on select it should select all thousands record.
I am using ASPNET MVC and JQUERY and HTML for displaying the data. I a using @HTML.PagedListPager to display the pagination.
It provides pagination, searching, sorting etc. so at a time I am displaying only 10 records on my current page all the records are selecting on current page.
As mention in the problem I want to select all check-boxes from all the pages.
I need to select all check-boxes from all the checkbox list in a table