JS get_masterTableView rebind not working in IE11

2 posts, 0 answers
  1. Matthew
    Matthew avatar
    1 posts
    Member since:
    May 2019

    Posted 15 May Link to this post

    Hi,

    I'm using the following JS in my base page

                function RefreshDiscussionNotesGrid() {
                    RefreshGrid("<%=rgDiscussionNotes.ClientID %>");
                }

                function RefreshGrid(ClientID) {
                    $find(ClientID).get_masterTableView().rebind();
                }

    I'm calling this from an iframe:

                function RefreshDiscussionNotesGrid() {
                    jQuery(document).ready(function () {
                        $("input[id*='btnCloseModal']", parent.document).click();
                        window.parent.RefreshDiscussionNotesGrid();
                    });
                }

    I'm receiving an error in IE11:

    Accessing the 'caller' property of a function or arguments object is not allowed in strict mode

  2. Attila Antal
    Admin
    Attila Antal avatar
    323 posts

    Posted 20 May Link to this post

    Hi Matthew,

    It error message indicates that some unsupported JavaScript code is being executed and hence IE throws an exception. In order to provide you with a more accurate answer, we would require some information about the issue.

    It would be great if you could describe us the scenario with a little more detail.
    • Which technique is used to bind data to Grid?
    • Describe shortly the structure of the application (e.g. Page1, Page2, Page2 loaded in an iFrame inside Page1, grid is located at? JavaScript is called from?)
    • Does this code work in other browsers like Google Chrome, Mozilla Firefox, Microsoft Edge?

    I look forward to your reply.

    Kind regards,
    Attila Antal
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top