Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IPageableItemContainer Interface
Collapse the table of content
Expand the table of content

IPageableItemContainer Interface

Defines members that a data-bound control must implement in order to have paging functionality provided by the DataPager control.

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

public interface IPageableItemContainer

The IPageableItemContainer type exposes the following members.

  NameDescription
Public propertyMaximumRowsGets the maximum number of items to display on a single page of data.
Public propertyStartRowIndexGets the index of the first record that is displayed on a page of data.
Top

  NameDescription
Public methodSetPagePropertiesSets the properties of a page of data.
Top

  NameDescription
Public eventTotalRowCountAvailableOccurs when the data from the data source is made available to the control.
Top

The IPageableItemContainer interface defines properties, methods, and events that must be implemented by data-bound controls in order to have paging functionality provided by the DataPager control. (An example of a control that implements this interface is the ListView control.)

The TotalRowCountAvailable event is raised when the DataPager control can bind to data. The DataPager control provides a handler for this event that is named OnTotalRowCountAvailable.

The SetPageProperties method is called by the DataPager control every time that the control must update the page-related properties. For example, this method is called when the user navigates to another page of data.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Show:
© 2015 Microsoft