DataPager.OnTotalRowCountAvailable(Object, PageEventArgs) Method

Definition

Handles the TotalRowCountAvailable event.

C#
protected virtual void OnTotalRowCountAvailable(object sender, System.Web.UI.WebControls.PageEventArgs e);

Parameters

sender
Object

The source of the event.

e
PageEventArgs

The event data.

Remarks

The ListView control raises the IPageableItemContainer.TotalRowCountAvailable event when the total number of records in its underlying data source is available. The OnTotalRowCountAvailable method is a handler for this event and is responsible for updating the page-related properties and recreating the pager field objects.

Applies to

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also