Correct, the parameter controls the initial state of the show/hide after the report is processed. This is really no different than when you click on an individual toggle image for a single group because the report is also being reprocessed then.
-Chris
I appreciate your responses. I understand the concept , but it is not working for me in practice. Assume the following structure of animals with the names;
Dogs
Rex, Sam, Max
Cats
Ed, Ann, Bill
Dogs and Cats group can be toggled to display the names. The Names are the details row. Do I use the parameter expression on the "hidden" property of the details row?
Use the expression for the Initial Visibility setting in the Detail rows group. Right click on the detail row and select "Edit group".
-Chris
you are correct. the image icons seem to be reversed. i
have written a code for changin the image state based on the paramter
passed. but it does not behave normally. howvever, if i write a code
without applying the visibility setting as pointed out by Chris, it
does work.
is it some kind of bug in Reporting Services.
You can change the initial toggle image state by right-clicking on the textbox, opening the textbox properties dialog and selecting the "Visibility" tab. The bottom of that dialog tab has a section titled "Initial appearance for the toggle image of this report item". You can set the initial toggle image either statically or based on an expression value.
-- Robert
My initial toggle visibility and images are working just fine with the parameter solution. I did the following:
Note that "Not" is used in the Toggling Item. Here is a helpful key:
In this example, you must change the parameter value and click on "View Report" button to refresh it.