Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

In SSRS, how do I change the text in a textbox based on the visability toggle status?

Posted on 2009-02-10
2
Medium Priority
?
960 Views
Last Modified: 2012-05-06
I am using a text box as the toggle switch to show and hide a graph held in a rectangle control. The text in this box states "Open Graph". When I click on the [ + ] and the graph is revealed  I want the text box  to say "Close Graph".

Can this be done?
0
Comment
Question by:PSTCAT
2 Comments
 
LVL 21

Accepted Solution

by:
Yurich earned 1500 total points
ID: 23646368
unfortunately, the Reporting Services are not even-driven and that's what you want in this case. After report was rendered, it's pretty much static HTML and not interactive like applications.

I was going to offer you a work around, but checked it and it didn't work. The idea was having two textboxes one on the top of each other and have their visibility toggled by each other as well. So if one is visible (Show Graph) the other one is hidden (Hide Graph) and vice versa. Unfortunately, it didn't work as if you set one of them to be hidden, the other one is not shown either even if hidden is set to false.

So, to avoid confusion, I'd probably have a parameter instead of a texbox with two values: Show Graph, Hide Graph. And I would toggle visibility of the graph based on the parameter value.

Cheers,
Yurich
0
 

Author Closing Comment

by:PSTCAT
ID: 31550961
Many thanks Yurich.
In the end I did away with the idea and just gave it a title. But I will have ago at the parameters idea later.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question