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

ReportViewer parameters

Thread ID:





132147 Aug 16,2017 04:52 PM UTC Aug 22,2017 04:31 AM UTC ASP.NET MVC 5
Tags: ReportViewer
Asked On August 16, 2017 04:52 PM UTC

Hi, I have a question there any way to hide onload the parameters values than appears below the toolbar in the reportviewer, I am using rdlc reports, thaks in advance

Yuvaraj Devarajan [Syncfusion]
Replied On August 17, 2017 07:36 AM UTC

Hi Jaime, 

Thanks for contacting Syncfusion support. 

We can hide the parameter block for the report in ReportViewer container using toolbarSettings property as shown in below code example, 
<body style="overflow: hidden; position: static; margin: 0px; padding: 0px; width: 100%; height: 100%"> 
    <div style="width:100%; height:100%; position:absolute;"> 
        .ReportPath("~/App_Data/Product List.rdlc")   
        .ToolbarSettings(tb=>tb.Items(Syncfusion.JavaScript.ReportViewerEnums.Toolbaritems.All & ~Syncfusion.JavaScript.ReportViewerEnums.Toolbaritems.Parameters))               

Please refer to the below UG documentation link for more detail, 

Yuvaraj D. 

Replied On August 18, 2017 09:49 PM UTC

Thanks for your reply, works perfect, I using drillThrough, when I show the child report I hide the parameters block, now when you return using the toolbar button, how can you show again the parameters block?, thanks for your help and support.

Yuvaraj Devarajan [Syncfusion]
Replied On August 21, 2017 11:10 AM UTC

Hi Jaime, 

Thanks for the update. 

In ReportViewer, “toolbarsetting” property helps to hide the parameter block in current report viewer control instance, we are using same report viewer instance to render the parent and child reports, due to this we can’t hide for parent and show in child report rendering using the toolbarsetting API. However, you can achieve your requirement by using all the parameter in parent report as visible and hidden for child reports.   

For RDL: In ReportBuilder, you can specify the parameter visibility as hidden in Report Parameter property dialog box as shown in below screenshot, 
For RDLC: Visual Studio RDLC designer doesn’t allow to set the parameter visibility as hidden in UI due to some RDLC compatibility. So, you can manually set the parameter visibility as hidden in RDLC definition file as shown in the below screenshot, 


Please refer the below MSDN link for more detail, 

Yuvaraj D. 

Replied On August 21, 2017 04:18 PM UTC

Thanks a lot for your support,  this worked perfect for me!

Yuvaraj Devarajan [Syncfusion]
Replied On August 22, 2017 04:31 AM UTC

Hi Jaime, 
Thanks for the update. We are happy to hear that your issue is resolved. 
Yuvaraj D. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the 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