ASPxClientReportViewer.PageLoad Event

Occurs on the client side when another report page is loaded into this ASPxClientReportViewer instance.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.1.Web.Scripts.dll

Syntax

public event ASPxClientReportViewerPageLoadEventHandler PageLoad

The event handler receives an argument of the ASPxClientReportViewerPageLoadEventHandler type.

Handle the PageLoad event to perform an action every time a Report Viewer navigates to another report page. For example, if you're implementing a custom Report Toolbar, you may use the ASPxClientReportViewerPageLoadEventArgs.IsFirstPage and ASPxClientReportViewerPageLoadEventArgs.IsLastPage properties to determine the state of ReportToolbarItemKind.FirstPage, ReportToolbarItemKind.PreviousPage, ReportToolbarItemKind.NextPage and ReportToolbarItemKind.LastPage toolbar buttons. Also, you may obtain the ASPxClientReportViewerPageLoadEventArgs.PageCount and ASPxClientReportViewerPageLoadEventArgs.PageIndex values to show this information in a custom Report Toolbar.