Last post Sep 27, 2011 03:51 PM by ww1711
Sep 27, 2011 12:49 PM|ww1711|LINK
I've got a Matrix with a few row groups.
I'd like to render the report with the outermost grouping collapsed (which I've accomplished). I'd like to add an option somewhere on the page that will allow the user to toggle the visibility of the group.
Passing parameter? Using some expression?
Sep 27, 2011 03:51 PM|ww1711|LINK
So I figured it out.
I set the group visibility to "Show or hide based on an expression": =IIF(Parameters!prmCE.Value=False,False,True)
I added a button to the page that sets the value of the parameter, and a function that sets the parameter to the local report, which then continues to refresh the ReportViewer control.
When the ReportViewer refreshes, the parameter is picked up and the expression sets the visibility of the group.
Hope this helps someone!