Question

Per screenshot below, there are two images.

The top image shows the report as it looks like when a user runs the report.

Notice the (+) sign. That + sign collapses the report and hides the values.

The bottom image shows the report when expanded.

To expand the report, the user must click the + sign which changes to - (minus sign) and displays the values within the report.

enter image description here

Is there a way to modify reportviewer to display reports as soon as a user runs it?

What we are trying to do is group surveys by Location.

Each location displays the surveys taken at that location, by various users and their test scores.

We are using VS2010 to build the reports.

Thanks in advance

Was it helpful?

Solution

It looks like you already have the drilldown functionality set up correctly so you just need to make sure the items involved have certain attributes set appropriately when the report loads.

To get everything expanded by default, you need to make sure that the detail row's Hidden attribute is set to False, i.e. show when the report loads, and the toggle item, i.e. the Loc group textbox, has its InitialToggleState set to True, i.e. make sure the textbox has a (-) sign when the report loads.

OTHER TIPS

Change the visibility of the child group to "Show".

Screenshot

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top