Search

SSRS Toggle Item not cleared if field is changed by Todd C

Active

1
0
Sign in
to vote
Type: Bug
ID: 779736
Opened: 2/21/2013 12:18:27 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
In SSRS, if the item that is referenced by a Toggle Item property is deleted, the report is broken and can only be fixed by editing in code.
Details (expand)

Product Language

English

Version

SQL Server 2008 R2 SP1

Category

Reporting Services

Operating System

Windows Server 2008 R2 Standard

Operating System Language

US English

Steps to Reproduce

Create a tablix with two levels of grouping. Set the visibility properties of the inner group as follows:
Visible = Hidden
Toggle item = <some textbox in the outer group header>

Now change the name of the text box

Try to render the report. It won't.

Change the visibility properties of the inner group so that the Toggle item points to the NEW textbx name. Render the report. It won't.

Open the report in Code. Search for any references to the OLD name of the text box.

Actual Results

You will find that there are MULTIPLE <ToggleItem> tags for the Inner Group.

Using the regular report editor, remove the Toggle Item property. Re-open the report in Code and search for "ToggleItem".

You will see that a <Toggle Item> still exists for this Group, but points to an object that no longer exists under that name.

Expected Results

I expect that when an object is gone, that all references to it dissapear with it.

i expect that when i set the Toggle Item property for a group, that if one already exists, that it would get overwritten, not duplicateed.

Platform

X64

Virtualization

 
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.