ListViewPagedDataSource.AllowServerPaging Property


Gets or sets a value that indicates whether server-based paging is enabled.

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

public bool AllowServerPaging { get; set; }

Property Value

Type: System.Boolean

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

Use the AllowServerPaging property to specify whether server-based paging is enabled. If this property is set to true, the data source object performs server-based paging. Otherwise, the ListView control does UI-based paging. In UI-based paging, the ListView control requests all the records from the data source and uses only the ones for the current page.

.NET Framework
Available since 3.5
Return to top