Gets or sets a value that indicates whether custom paging is enabled.
Assembly: System.Web (in System.Web.dll)
Paging enables you to display the contents of the GridView control in chunks. The number of items on a page is determined by the PageSize property. Normally, every row in the data source is read every time the GridView control moves to a different page. This can consume a lot of resources when the total number of items in the data source is very large. Custom paging allows you to read just the items you need for a single page from the data source.
To enable custom paging, set both the AllowPaging and properties to true. In a handler for the PageIndexChanging event, set the PageIndex property to the new page index value, set the VirtualItemCount property to the total number of items in the data source, set the data source to return only the rows needed for the current page, and call the DataBind method. The VirtualItemCount property enables the control to determine the total number of pages; this value is normally determined automatically by reading all of the items.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.