LinqDataSourceView.CanPage Property


Gets a value that indicates whether the LinqDataSourceView object that is associated with the current LinqDataSource control supports paging of retrieved data.

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

public override bool CanPage { get; }

Property Value

Type: System.Boolean


The LinqDataSourceView object always supports paging even if data presentation control does not use paging. When the AutoPage property is set to false, you can manually page the data in the Selecting event.

.NET Framework
Available since 3.5
Return to top