I have a radcombobox inside an update panel and it works fine in every other broswer but Edge. I get the following JS exception in Edge when I debug with f12:
"Sys.ScriptLoadFailedException: The script http://xxx/ScriptResource.axd?d=qZWov62bqH1pGSd7D0rQx-DbXZR3u-bcTkEoFKSoahBoB3Yrh_wCaeTQapIJW9FNJ_Rl8OfON8PhrH6dyNfuKmqiz44SDKOLCQx07DwbU6nWm-KML3wF4LeAKJ8k50XKUYKv8MnFUudJMiYa0&t=ffffffffe8b7bf5c'
failed to load. Check for:
Inaccessible path.
Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
Missing call to Sys.Application.notifyScriptLoaded().
When I open the script file in a text editor and navigate to the line the debugger says is causing the issue it's this line:
c.RadComboBox.prototype._updateComboBoxText=function(){if(!this._checkBoxes){return;
When it reaches this point it crashes and the combobox doesn't work at all. Again this works in every other browser.
5 Answers, 1 is accepted
In the attachment you will find the sample page, that we used to test the described scenario on our side. We couldn't reproduce the problem specified. Can you modify this page so that it exhibits the unexpected behavior observed and post here the changes that need to be applied?
Regards,
Peter Milchev
Telerik
We have same problem on MS Edge on Windows 10. All other browsers works fine, IE 10 and 11 as well.
On each AJAX postback, the entire website will not work anymore with same javascript error as described by the OP:
SCRIPT5022: Sys.ScriptLoadFailedException: The script 'http://aspnet-scripts.telerikstatic.com/ajaxz/2016.3.914/ListBox/Views/ClassicView.js' could not be loaded.
Telerik.Web.UI.WebResource.axd (15,25340)
SCRIPT5007: Unable to get property '_notified' of undefined or null reference
Telerik.Web.UI.WebResource.axd (6,43538)
When i switch to IE 11 or IE 10 in the emulation, it works as expected.
We're using RadAjaxManager in combination with RadAjaxManagerProxy (master and content pages).
Crashes on each Telerik control, don't matter which, just happens on each first AJAX postback.
More information for reproduceable scenario:
- Create a empty page with radajaxmanager and radscriptmanager
- Put a telerik button and a panel with visible set to false.
- Put radcombobox, radtreeview and radlistbox in that hidden panel.
- Create an click event to set that panel to be visible.
Crashes in Edge with javascript errors and no skin/css.
See for testable page: http://develop.adrez.net/edge/default.aspx
Source:
<%@ Page Language=
"VB"
AutoEventWireup=
"false"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head id=
"Head1"
runat=
"server"
>
<title>test edge crash</title>
<telerik:RadStyleSheetManager id=
"RadStyleSheetManager1"
runat=
"server"
/>
<script runat=
"server"
type=
"text/VB"
>
Protected
Sub
cmdTest_Click(sender
As
Object
, e
As
EventArgs)
Handles
cmdTest.Click
pnlHidden.Visible =
True
End
Sub
</script>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<telerik:RadScriptManager ID=
"RadScriptManager1"
runat=
"server"
>
<Scripts>
<asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.Core.js"
/>
<asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.jQuery.js"
/>
<asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name=
"Telerik.Web.UI.Common.jQueryInclude.js"
/>
</Scripts>
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID=
"RadAjaxManager1"
runat=
"server"
>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID=
"cmdTest"
>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID=
"pnlHidden"
/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<div>
<telerik:RadButton ID=
"cmdTest"
runat=
"server"
Text=
"set visible"
></telerik:RadButton>
<asp:Panel ID=
"pnlHidden"
runat=
"server"
Visible=
"false"
>
<telerik:RadComboBox ID=
"cbo"
runat=
"server"
>
<Items>
<telerik:RadComboBoxItem Text=
"test"
Value=
"test"
/>
</Items>
</telerik:RadComboBox>
<telerik:RadListBox ID=
"view"
runat=
"server"
>
<Items>
<telerik:RadListBoxItem text=
"test"
Value=
"test"
/>
</Items>
</telerik:RadListBox>
<telerik:RadTreeView ID=
"tree"
runat=
"server"
>
<Nodes>
<telerik:RadTreeNode text=
"test"
Value=
"test"
></telerik:RadTreeNode>
</Nodes>
</telerik:RadTreeView>
</asp:Panel>
</div>
</form>
</body>
</html>
I am afraid that using the provided page we were unable to observe the described error as you can see in this screencast. Please find attached the project(without the Telerik assemblies in the Bin folder) we used to replicate the issue.
Would you please confirm that it behaves correctly also on your side? If yes, would you please modify it so that it recreates the erroneous behavior and send it back to us along with more details on the testing environment and steps for reproducing the issue?
Regards,
Peter Milchev
Telerik by Progress