Example of Pager Dropdown in ASP.NET MVC Data Grid Control
This sample demonstrates the Grid paging feature. In this sample, click the numeric items to navigate to particular page. You can also change the page size using the dropdown.
Paging allows you to display the contents of the Grid in page segments. By default, paging is disabled. To enable paging,
set AllowPaging property to true.
PageSettings->PageSizes property enables a dropdown in pager which allows you to change the number of records in the Grid dynamically.
In this demo, the Grid is rendered with
PageSettings->PageSizesset to true and
PageSettings->PageCount is set to 4.
The Pager component has been enhanced to be more responsive. It now includes the ability to automatically resize itself and dynamically show or hide pager items based on the width of the Grid