refreshReport Method

Reloads the data from the report data sources and reprocesses the report.

$find(viewerId).refreshReport();

Remarks

Invoking this method is functionally equivalent to clicking the Refresh button in the default toolbar. The corresponding server-side method is Refresh.

When the Web page is performing a postback or the client-side control is loading content, accessing the methods or properties will cause an exception with the message: "The report or page is being updated. Please wait for the current action to complete." Use the isLoading property to check whether the report or page is being updated and whether you can access the methods and properties.

See Also

Reference

ReportViewer Class