Прочетете на английски Редактиране

Споделяне чрез


PagedDataSource.AllowServerPaging Property

Definition

Gets or sets a value indicating whether server-side paging is enabled.

C#
public bool AllowServerPaging { get; set; }

Property Value

true if server-side paging is enabled; otherwise, false.

Remarks

ASP.NET version 2.0 data-bound controls (such as GridView, DetailsView, and FormView) provide automatic paging functionality through server-side paging. When using an ASP.NET 2.0 data-bound control, set this property to true.

Бележка

Server-side paging and custom paging are mutually exclusive. If you set AllowServerPaging to true, be sure that AllowCustomPaging is set to false.

Applies to

Продукт Версии
.NET Framework 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