Setting up 'Initial Toggle State' property drove me crazy. If you look at that property - you'll see that by default it is set to 'Collapsed', so the logical thing for the expression would be to use the same kind of terminology, e.g. iff(Fields!Expand.Value = 1, 'Collapsed', 'Expanded').
If only... I spent couple of hours trying to figure out why neither Collapsed nor Expanded were working, i was always getting '+' on the report and it didn't want to change dinamicaly, based on the field value. Turned out that instead of using 'Collapsed' or 'Expanded' - true or false should be used in the expression, as follows -
Expanded = true and Collapsed = false
I ended up just using the report parameter Toggle of type boolean and then setting InitialToggleState to =Parameters!Toggle.Value
So far so good - works fine!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment