xtrareports-js-aspxclientreportviewerpageloadeventargs.md
Provides data for the ASPxClientReportViewer.PageLoad and ASPxClientDocumentViewer.PageLoad events on the client side.
declare class ASPxClientReportViewerPageLoadEventArgs extends ASPxClientEventArgs
ASPxClientReportViewerPageLoadEventArgs objects with proper settings are automatically created and passed to the corresponding event handlers.
ASPxClientEventArgs ASPxClientReportViewerPageLoadEventArgs
Initializes a new instance of the ASPxClientReportViewerPageLoadEventArgs class with the specified settings.
constructor(
pageIndex: number,
pageCount: number
)
| Name | Type | Description |
|---|---|---|
| pageIndex | number |
An integer value which specifies a zero-based index of a page to be displayed in a report viewer. This value is assigned to the ASPxClientReportViewerPageLoadEventArgs.PageIndex field.
| | pageCount | number |
An integer value which specifies the total number of pages displayed in a report viewer. This value is assigned to the ASPxClientReportViewerPageLoadEventArgs.PageCount field.
|
Instances of the ASPxClientReportViewerPageLoadEventArgs class are automatically created, initialized and passed to the corresponding event handlers.
Gets a value specifying the total number of pages displayed in a report viewer.
PageCount: number
| Type |
|---|
| number |
Gets a value specifying a zero-based index of a page to be displayed in a report viewer.
PageIndex: number
| Type |
|---|
| number |
Gets a value indicating whether a report page, which is currently loaded into the ASPxClientReportViewer, is the first page of a report.
IsFirstPage(): boolean
| Type | Description |
|---|---|
| boolean |
true if the loaded page is first; otherwise, false.
|
See Also
Gets a value indicating whether a report page, which is currently loaded into the ASPxClientReportViewer, is the last page of a report.
IsLastPage(): boolean
| Type | Description |
|---|---|
| boolean |
true if the loaded page is last; otherwise, false.
|
See Also