Cannot use report

Posted by: grapecity on 20 November 2017, 4:12 pm EST

    • Post Options:
    • Link

    Posted 20 November 2017, 4:12 pm EST

    I am loading a Modal window with code from an ASPX page which contains a viewer.

    When I open a second modal (which loads a new viewer), then go to LEAVE the page, I always get an alert, K-1 times (where K is the number of modals I opened), which says :

    エラー: レポートは利用できません。

    Which means

    Error: Report cannot be used.

    I don’t see any way to get around this, and tbh it seems like a bug.

  • Posted 20 November 2017, 4:18 pm EST

    Version 9.5J

    I can see that when I open a Modal, it creates an event on Window.unload. I tried to unbind the event, but it just doesn’t seem to disappear, I think since I do not know the handler to the function.

  • Posted 20 November 2017, 4:19 pm EST

    also, I can recreate the problem by manually calling Model.Close(), which after the first time, causes the same error.

    I can see that on page unload you are wanting to call Model.Close(), but if the model has already gone then it should not throw this error and annoy users with Alert boxes

  • Posted 21 November 2017, 10:13 pm EST

    Hello,

    This message has been introduced while dealing with memory leaks. When report is not disposed properly the message is displayed. You can hide this by using the standard alert() function. You need to add following line of code in script section of your aspx page.

    alert = function() {

    };

    Hope it helps.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels