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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hidden controls support in Report Viewer ASP.NET MVC

Thread ID:

Created:

Updated:

Platform:

Replies:

108981 May 24,2013 06:34 AM UTC May 27,2013 10:54 AM UTC ASP.NET MVC (Classic) 1
loading
Tags: ReportViewer
viji
Asked On May 24, 2013 06:34 AM UTC

How to hide controls in Report Viewer ASP.NET MVC?

Scenario:
I have 2 valid values in my Report parameter. If i select the 1st valid value, only Tablix1 should be shown and if i select the 2nd valid value, Tablix2 should be shown and Tablix1 should be hidden. How to implement this?

Thanks,
Viji

Ragavan G [Syncfusion]
Replied On May 27, 2013 10:54 AM UTC

Hi Viji ,

 

Thanks for your interest in syncfusion products .

 

You can achieve this requirement in report level . In tablix through hidden property you can hide/show the tablix  , for your requirement you can use following expression in hidden .

 

=IIF(Parameters!ReportParameter1.Value=1,True,False)

 

Current MVC ReportViewer Hidden property was not worked . Please create the incident in DirectTrac and follwup your queries we will provide patch for this fix .

 

Please let me know if you have any queries .

 

Thanks ,

Ragavan G


CONFIRMATION

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.

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

;