PagedDataSource.AllowCustomPaging Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether custom paging is enabled in a data-bound control.
public:
property bool AllowCustomPaging { bool get(); void set(bool value); };
public bool AllowCustomPaging { get; set; }
member this.AllowCustomPaging : bool with get, set
Public Property AllowCustomPaging As Boolean
Property Value
true
if custom paging is enabled; otherwise, false
.
Remarks
Use the AllowCustomPaging 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 AllowCustomPaging to true
, be sure that AllowServerPaging is set to false
.
For more information about custom paging, see DataGrid.AllowCustomPaging.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應