How to add the "Refresh Report" button

In order to add the "Refresh Report" button write the following code before calling the ApplyTemplate() method:

reportViewer.ViewOptions = 
new PerpetuumSoft.ReportingServices.Viewer.Client.ViewOptions();
reportViewer.ViewOptions.RefreshButtonBrowsing = true;

Add Feedback