ListView.PagePropertiesChanging Event
.NET Framework (current version)
Occurs when the page properties change, but before the ListView control sets the new values.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The PagePropertiesChanging event is raised when the page properties change, but before the ListView control sets the new values by using the SetPageProperties method. This enables you to perform a custom routine whenever this event occurs, such as clearing the SelectedIndex or EditIndex properties.
A PagePropertiesChangingEventArgs object is passed to the event handler, which enables you to determine the index of the first record displayed on the page. It also lets you determine the maximum number of items to display on a single page.
For more information about how to handle events, see NIB: Consuming Events.
.NET Framework
Available since 3.5
Available since 3.5
Show: