Tab

ASPxDataViewBase.PageSizeChanged Event

Fires on the server side after a page size (amount of items per page) is changed by end-user interactions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public event EventHandler PageSizeChanged
Public Event PageSizeChanged As EventHandler

Event Data

The PageSizeChanged event's data class is EventArgs.

Remarks

End-users can change the page size using the page size item element of the embedded pager. Additionally, the All navigation button can be used to display all items.

The PageSizeChanged event allows you to perform any custom actions after the page size is changed by end-user interactions. Before the page size is changed, the ASPxDataViewBase.PageSizeChanging event is raised, allowing you to cancel the action.

NOTE

When a control displays all items, the properties specifying the page size returns the last specified numerical values.

See Also