Changing the default plus sign to minus while the report is still expanded: InitialToggleState

While creating a group in sql server reporting service with expand collapse feature, we may find that report is showing a plus image while the group under that is displayed. This is not logical. While the group is displayed or in other words the group is expanded, it should show a minus sign that indicates this group can be collapsed. But in SSRS, the default image is plus. So definitely we would like to change the image.

 
The following steps will let us change the image.
  1. In the report designer tab, we click on the text_box that is showing us the country group.
  2. Go to the properties panel. Make sure that you still have your country textbox selected.
  3. There is a property named InitialToggleState. This is set to False, by default. That's why, the image is showing a plus sign while the report is first rendered. Set this InitialToggleState to True.
  4. Now see the preview and you will get the desired minus image while the report is first rendered. Now every toggle operation will expand or collapse the group and the image will also show correctly.

No comments:

Post a Comment