Groups | Blog | Home
all groups > sql server reporting services > april 2005 >

sql server reporting services : Setting Visibility.Hidden property programmatically


GizPur
4/26/2005 4:27:14 PM
We have two charts sitting on top of one another and we want to have only one
visible at a time. Wondering if this could be done programmatically passed
Robert Bruckner [MSFT]
4/26/2005 8:41:51 PM
Not sure what you mean with "user action". You could write an expression for
the Visibility.Hidden property which depends on a report parameter value to
hide either one or the other chart.


-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

GizPur
4/27/2005 8:25:12 AM
First thanks for the response...

I agree understand I could use a report parameter to determine what chart to
show. But that would cause another rendering, which I was hopeing to avoid.

You can set toggleitem in a chart to a textbox which cause it to appear or
dissapear. I was hoping to find a way to cause one chart or the other to
appear at any given time without having to do another rendering of the report.

Thanks in advance

[quoted text, click to view]
Brian Welcker
4/27/2005 9:13:49 PM
All user actions which change the output require re-rendering. We do not
rely on script to show/hide elements.

--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services

This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button