Sidebar/TOC width, Viewer splitter position

Posted by: bagattini on 17 April 2023, 4:08 am EST

    • Post Options:
    • Link

    Posted 17 April 2023, 4:08 am EST

    I’m using a rather old version of AR, 7. I can’t find a way to save and restore the position of the splitter that divides the sidebar/TOC area from the actual report. No matter if I change

    viewer.TableOfContents.Width
    or
    viewer.Sidebar.Width
    , it doesn’t get displayed correctly. I even tried digging into the inner controls collection without success.

    Is there a way to set the width of the sidebar to a given value?

  • Posted 18 April 2023, 1:30 am EST

    Hi Matteo,

    Unfortunately, ActiveReports 7 is a legacy product and we no longer provide support for the same. However, upon updating the ‘TableOfContents’ or ‘Sidebar’ width in ActiveReports 17 the same gets updated in the Viewer’s UI.

    It could be a possible bug in ActiveReports 7, however, it being out of maintenance we would not be able to provide a fix for the same.

    It is suggested to upgrade to the latest version of ActiveReports i.e. ActiveReports 17 to enjoy many more bug fixes and features. You may download the same from here and try it free for the first 30 days: https://www.grapecity.com/activereportsnet/download

    Please find attached an updated sample in ActiveReports 17 implementing the same.

    Regards,

    Anand

    UpdateSplitterSize.zip

  • Posted 18 April 2023, 3:39 pm EST

    Thank you Anand. And yes, the intention is to test drive AR, see how much rework we need to upgrade our current codebase and eventually switch to the latest version.

  • Posted 18 April 2023, 11:06 pm EST

    Hi Matteo,

    Glad to help!

    Regards,

    Anand

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels