PagedDataSource.AllowPaging Property

Definition

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

C#
public bool AllowPaging { get; set; }

Property Value

true if paging is enabled; otherwise, false.

Remarks

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also