Tab

ASPxGridBase.PageSizeChanged Event

Fires on the server side after the page size, i.e., the number of data items (rows, cards or records) per a 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

Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.

ASPxGridView

Page size, i.e., the maximum number of rows that can be displayed on a page, is specified by the ASPxGridViewPagerSettings.PageSize property.

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

The PageSizeChanged event fires on the server side after the page size is changed by end-user interactions and allows you to perform any custom actions.

NOTE

When a grid displays all rows, the ASPxGridViewPagerSettings.PageSize property returns the last specified numerical value.

Grid View - Getting Started

Online Demo: Grid - Pager Settings

ASPxCardView

The maximum number of cards that can be displayed within a page can be accessed by the CardViewFlowLayoutSettings.ItemsPerPage property, provided that the ASPxCardViewSettings.LayoutMode property is set to Flow. In the Table layout mode, use the CardViewTableLayoutSettings.ColumnCount and the CardViewTableLayoutSettings.RowsPerPage properties for this purpose.

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

The PageSizeChanged event fires on the server side after the page size is changed by end-user interactions and allows you to perform any custom actions.

Card View - Getting Started

Online Demo: Card View - Pager Settings

ASPxVerticalGrid

Page size, i.e., the maximum number of records that can be displayed on a page, is specified by the ASPxVerticalGridPagerSettings.PageSize property.

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

The PageSizeChanged event fires on the server side after the page size is changed by end-user interactions and allows you to perform any custom actions.

NOTE

When a grid displays all rows, the ASPxVerticalGridPagerSettings.PageSize property returns the last specified numerical value.

Vertical Grid - Getting Started

Online Demo: Vertical Grid - Pager Settings

See Also