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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the ReportViewer Toolbar?

Platform: ASP.NET MVC |
Control: ReportViewer

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.


2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile