How to customize JSViewer of AR15

Posted by: michael.zhong on 16 February 2021, 3:50 pm EST

    • Post Options:
    • Link

    Posted 16 February 2021, 3:50 pm EST - Updated 30 September 2022, 6:27 am EST

    Dears,

    I have two questions about the jsviewer of AR15. We developed a new web designer what can save the report into DB. Once we open the report asn.rdlx via http://localhost:58723/edit/13, it always show the id on page title and top of the designer.



    In fact we can get the right information for this report.



    When we open the report via open dialog, it will show the correct report name.



    What the root cause? Bug or my wront way?

    the 2nd question, we want to disable the open dialog in designer, what can we do?

    Thanks.

  • Posted 17 February 2021, 12:53 am EST

    Hello,

    Can you please try suggestion as shown in the following link:

    https://www.grapecity.com/activereportsnet/docs/v15/online/loading-reports-in-jsviewer-wd.html

    I think, it will answer both of your question.

    Thanks,

    Mohit

  • Posted 20 February 2021, 2:43 pm EST - Updated 30 September 2022, 6:27 am EST

    Thanks for your information. The first question is ok, but for the 2rd, how to hide the File tab, I haven’t got a clue about it.

  • Posted 21 February 2021, 6:22 pm EST

    Hello,

    Please use the following line of code:

    designerOptions.openButton.visible = false;

    designerOptions.fileView.visible = false;

    Thanks,

    Mohit

  • Posted 22 February 2021, 6:48 pm EST

    Done, thanks a lot.

Need extra support?

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

Learn More

Forum Channels