Solved

Hiding and toggling of items based on condition in SSRS

Posted on 2012-03-12
2
2,254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 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