This is a migrated thread and some comments may be shown as answers.

R2 2016 Toggle Visibility on detail/group sections

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 05 May 2016, 05:02 PM

I cannot seem to get the toggle visibility action for detail or group sections to work in the newest version. I see in the release notes that IToggleVisibilityTarget and ToggleVisibilityTargetCollection are now obsolete and deprecated. I made sure that the report I'm working on is not using those. It is using the IActionTarget. It works fine for textboxes within the same report section, but it does nothing when you try to have a detail or group section toggled. Here is a code snippet:

 

Telerik.Reporting.ToggleVisibilityAction toggleVisibilityAction1 = new Telerik.Reporting.ToggleVisibilityAction();

toggleVisibilityAction1.DisplayExpandedMark = false;
toggleVisibilityAction1.Targets.AddRange(new Telerik.Reporting.IActionTarget[] {this.detail});
this.textBox5.Action = toggleVisibilityAction1;

 

This is also isn't working for groupHeaderSection/groupFooterSection, whereas it was working fine in the previous version.

I have the detail section visibility set to false. When I click the expand option it processes the report again and the toggle mark goes from + to -, but the detail section is not visible. Is there something wrong on my end or is there a known issue?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 06 May 2016, 12:13 PM
Hello Chris,

This is not a known issue and we would like to investigate the described behavior further.
Please provide us with a runnable sample report which was working correctly in the previous version, but the same toggle visibility action configuration is not working in the current version of Telerik Reporting.
You can open a new support ticket where you can attach the sample report.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or