DataPager.OnTotalRowCountAvailable(Object, PageEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles the TotalRowCountAvailable event.
protected:
virtual void OnTotalRowCountAvailable(System::Object ^ sender, System::Web::UI::WebControls::PageEventArgs ^ e);
protected virtual void OnTotalRowCountAvailable (object sender, System.Web.UI.WebControls.PageEventArgs e);
abstract member OnTotalRowCountAvailable : obj * System.Web.UI.WebControls.PageEventArgs -> unit
override this.OnTotalRowCountAvailable : obj * System.Web.UI.WebControls.PageEventArgs -> unit
Protected Overridable Sub OnTotalRowCountAvailable (sender As Object, e As PageEventArgs)
Parameters
- sender
- Object
The source of the event.
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
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for