Method Toggle
Toggle(string)
Applies a toggle and paginates again.
public ReportViewerUpdate Toggle(string toggleKey)
Parameters
Returns
- ReportViewerUpdate
The new pagination and the pages that changed.
Remarks
A key the report does not use is not an error: it toggles nothing and the report paginates to the same pages, which is what a stale click from a viewer showing an older pagination should do.
Exceptions
- ArgumentNullException
toggleKeyis null.
Toggle(string, CancellationToken)
Applies a toggle and paginates again.
public ReportViewerUpdate Toggle(string toggleKey, CancellationToken cancellationToken)
Parameters
toggleKeystringThe key, from Key.
cancellationTokenCancellationTokenCancels the pagination.
Returns
- ReportViewerUpdate
The new pagination and the pages that changed.
Exceptions
- ArgumentNullException
toggleKeyis null.