This documentation is archived and is not being maintained.

ReportViewer.ResetPageSettings Method

Visual Studio 2010

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)

public void ResetPageSettings ()
public void ResetPageSettings ()
public function ResetPageSettings ()

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.