The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value indicating whether custom paging is enabled in a data-bound control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool AllowCustomPaging { get; set; }
property bool AllowCustomPaging {
	bool get();
	void set(bool value);
member AllowCustomPaging : bool with get, set
Public Property AllowCustomPaging As Boolean

Property Value


true if custom paging is enabled; otherwise, false.

Use the property to indicate whether custom paging is enabled. Custom paging is an optional type of paging provided specifically by the DataGrid control. ASP.NET version 2.0 data-bound control (such as GridView, DetailsView, and FormView) uses server-side paging and does not support custom paging. Custom paging and server-side paging are mutually exclusive. If you set to true, be sure that is set to false.

For more information about custom paging, see .

.NET Framework
Available since 1.1
Return to top