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

TypeError: access to strict mode caller function is censored

1 Answer 433 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andreas Decke
Top achievements
Rank 1
Andreas Decke asked on 23 Jun 2014, 10:30 AM
I use SignalR, to logging items in RadGrid.

Message
TypeError: access to strict mode caller function is censored

The problem is in FireFox 29 and IE 10, not in Chrome 35.

<telerik:RadCodeBlock runat="server">
  <script type="text/javascript">
 
    function RefreshGrid() {
      var masterTable = $find("<%= GridPlayerMessages.ClientID %>").get_masterTableView();
      masterTable.rebind();
    }
 
    $(function () {
      var hub = $.connection.pilotServerHub;
      hub.client.logMessage = function () {
        RefreshGrid();
      };
      $.connection.hub.start();
    });
 
  </script>
 
</telerik:RadCodeBlock>

I see the Problem is the call RefreshGrid()...

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 26 Jun 2014, 08:10 AM
Hello Richard,

I colleague of mine has already answered your support ticket, but I will include his answer here as well if somebody else have the same issue.
"The experienced problem is a known issue with ASP.NET AJAX Framework and SignalR which is described in the link below. You could follow the suggestions in the comments in order to resolve your problem:
Note that the problem is related to the ASP.NET AJAX Framework usage of caller.callee property and not to Telerik RadControls implementation. The code throws an error when the RadGrid control calls an ASP.NET AJAX Framework method.
"

Regards,
Kostadin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Andreas Decke
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or