This is a migrated thread and some comments may be shown as answers.

JS get_masterTableView rebind not working in IE11

1 Answer 20 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 15 May 2019, 10:54 AM

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

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 20 May 2019, 07:29 AM
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.
Tags
Ajax
Asked by
Matthew
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question
or