Udostępnij za pośrednictwem


ReportViewer.PageNavigation Event

Occurs when a user moves to a different page in a report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Event PageNavigation As PageNavigationEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As PageNavigationEventHandler

AddHandler instance.PageNavigation, handler
public event PageNavigationEventHandler PageNavigation
public:
event PageNavigationEventHandler^ PageNavigation {
    void add (PageNavigationEventHandler^ value);
    void remove (PageNavigationEventHandler^ value);
}
/** @event */
public void add_PageNavigation (PageNavigationEventHandler value)

/** @event */
public void remove_PageNavigation (PageNavigationEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when a user moves to a different page in a report. Information about this event is passed in a PageNavigationEventArgs object to the PageNavigationEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace