This documentation is archived and is not being maintained.

PagedDataSource::AllowPaging Property

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

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

public:
property bool AllowPaging {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
true if paging is enabled; otherwise, false.

Use the AllowPaging property to specify whether a data-bound control has paging enabled. ASP.NET version 2.0 data-bound controls (such as GridView, DetailsView, and FormView) also use server-side paging to provide automatic paging functionality. For more information on server-side paging, see AllowServerPaging. When using the DataGrid control, you can also provide your own custom paging logic. For more information on custom paging, see DataGrid::AllowCustomPaging and PagedDataSource::AllowCustomPaging.

For more information about paging support for data-bound controls, see the AllowPaging property of the data-bound control.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Show: