LinqDataSourceView.CanRetrieveTotalRowCount Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the LinqDataSourceView object that is associated with the current LinqDataSource control supports retrieving the total number of data rows, in addition to retrieving the data.

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

public override bool CanRetrieveTotalRowCount { get; }

Property Value

Type: System.Boolean

true.

Data-bound controls use the total number of rows that can be paged to determine how to render paging controls. For example, this value is used to determine how many numeric pager buttons to render in a GridView control pager. If the AutoPage property is set to false, you must manually set the total row count in the Selecting event.

.NET Framework
Available since 3.5
Return to top
Show: