all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

Possible bug with programmatically setting the InitialToggleState



Possible bug with programmatically setting the InitialToggleState Jason Sherry
8/31/2004 4:15:01 PM
sql server reporting services: I added a "Hide Details" Boolean parameter which I am using on the
Visibility.Hidden property for some rows in a table. But if I enter the
following in the InitialToggleState property for the expansion cell the +
(plus) “icon” never changes to a – (minus) “icon”.

Here is the expression for InitialToggleState:
=IIF(Parameters!HideDetails.Value = True,"Collapsed","Expanded")

My goal is to have the toggle "icon" change to a minus when the rows are
visible by default (when the parameter is set this way) and a plus when it
isn't.

Here is the expression for Visibility.Hidden:
= Parameters!HideDetails.Value

Has anyone else seen this? Is there a problem with my expression?
Re: Possible bug with programmatically setting the InitialToggleState Chris Hays [MSFT]
8/31/2004 4:42:36 PM
The values aren't the strings "Collapsed" and "Expanded", they're True and
False (Boolean)

--
This post is provided 'AS IS' with no warranties, and confers no rights. All
rights reserved. Some assembly required. Batteries not included. Your
mileage may vary. Objects in mirror may be closer than they appear. No user
serviceable parts inside. Opening cover voids warranty. Keep out of reach of
children under 3.
[quoted text, click to view]

AddThis Social Bookmark Button