R2 2016 Toggle Visibility on detail/group sections

2 posts, 0 answers
  1. Chris
    Chris avatar
    1 posts
    Member since:
    Jun 2011

    Posted 05 May Link to this post

    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?



  2. Nasko
    Nasko avatar
    909 posts

    Posted 06 May Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top