ReportViewer.ResetPageSettings Method

Reverts the page settings for the current report in the ReportViewer control to the settings in the report definition.

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

Syntax

'Declaration
Public Sub ResetPageSettings
'Usage
Dim instance As ReportViewer

instance.ResetPageSettings
public void ResetPageSettings ()
public:
void ResetPageSettings ()
public void ResetPageSettings ()
public function ResetPageSettings ()

Remarks

Only the changes you made to the current in the ReportViewer control are reverted, and calling this method does not affect its parent report or the drillthrough reports accessible from it.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace
ReportViewer.GetPageSettings Method
SetPageSettings