We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the ReportViewer Toolbar?

This article describes how to customize the standard toolbar in ASP.Net MVC ReportViewer. The toolbar customization is the process of changing standard functionalities to meet the requirement.

Refer to the Getting Started with MVC ReportViewer from the existing User Guide that is available in the following link.


Toolbar Customization in MVC Reportviewer

Syncfusion MVC ReportViewer supports Toolbar Customization. By using toolbarSettings property, you can customize the toolbar of ReportViewer either with the template customization or without the template customization.

Toolbar Customization

You can show or hide the toolbar items of ReportViewer as per the requirement with the help of toolbarSettings property. To customize the toolbar, set the items for toolbarSettings property as the following code example.



Run the Application

Run the sample application to see the customized toolbar of JavaScript ReportViewer as displayed in the following screenshot.



Figure 1: Toolbar customization without template

Demo Sample

You can download the Demo Sample from the following link.



Toolbar Template Customization

Toolbar Template customization helps you to customize the toolbar UI instead of standard toolbar. By using the templateId property of ReportViewer, you can hide the standard toolbar and replace the new toolbar. The following code example explains how to customize the toolbar using the template.



Add the following CSS code example inside the <style> tag of the razor page.


Add the following code example inside the <script> tag of the razor page. Also set the desired ReportPath and ReportServiceUrl to ReportViewer.




Figure 2: Toolbar Template Customization

Demo Sample

You can download the Demo Sample from the following link.



Further References

You can find the online User Guide Documentation and online Demo Samples for MVC ReportViewer control from the following link.


Article ID: Published Date: Last Revised Date: Platform: Control:
4824 05/12/2015 05/12/2015 ASP.NET MVC ReportViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon