PagedDataSource.AllowServerPaging 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否启用服务器端分页。
public:
property bool AllowServerPaging { bool get(); void set(bool value); };
public bool AllowServerPaging { get; set; }
member this.AllowServerPaging : bool with get, set
Public Property AllowServerPaging As Boolean
属性值
true 如果启用了服务器端分页,则为否则,为 false.
注解
ASP.NET 版本 2.0 数据绑定控件(如 GridView、DetailsView 和 FormView)通过服务器端分页提供自动分页功能。 使用 ASP.NET 2.0 数据绑定控件时,请将此属性设置为 true。
注释
服务器端分页和自定义分页互斥。 如果设置为 AllowServerPagingtrue,请确保已 AllowCustomPaging 设置为 false。