Solved

Hiding and toggling of items based on condition in SSRS

Posted on 2012-03-12
2
2,068 Views
Last Modified: 2012-03-14
I am building a report with parameters and drill downs. Based on parameters, report may return tons of data or few rows of data. Therefore based on parameters I want to display report with / without drill downs.

First I thought of putting an expression in Hide property, which works. But toggle item property does not support expressions... so the rows are made visible but they still have toggles which forces user to click through to see just 1 row.

I am out of ideas, and would appreciate any help. Thanks !
0
Comment
Question by:pratz09
2 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 37713450
I'm not exactly sure what you mean with: "so the rows are made visible but they still have toggles which forces user to click through to see just 1 row"

As you've noticed, you can't change the ToggleItem value dynamically,  but I don't think that's necessary.  If you use an expression on the Hidden property and make rows "not hidden" whenever you require them to be visible, that should work.

However, what can be confusing is the behavior of the +/- toggle icon.  You will need to make it behave as expected too, by adding an expression on the InitialToggleState property.
Perhaps that's what you were having trouble with?
0
 

Author Closing Comment

by:pratz09
ID: 37723196
Yes you are right. I had to change Initial toggle property of textbox to get the desired effect. Thanks a lot.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
In this article I will describe the Backup & Restore 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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now