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.2.Web.Scripts.dll


public event ASPxClientReportViewerPageLoadEventHandler PageLoad
Public Event PageLoad As ASPxClientReportViewerPageLoadEventHandler

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.

See Also