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

Manager dialogs show but broken

1 Answer 179 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lars
Top achievements
Rank 1
Lars asked on 22 Feb 2017, 12:11 PM

The editor is behaving very strangely in our application. We have been using quite some telerik controls in our app, but now for the first time the editor.

The editor control itself appears to be working just fine, but as soon it comes to the dialogs (Link, image, template etc.) things go terribly wrong:

Script errors created when pressing the Link Manager button:

Uncaught ReferenceError: jQuery is not defined
    at ScriptResource.axd?d=cmIcXiVJ__exjjpjrN730holjtn5m-UfCbMUoOhglL6hInC9jE17Ld9Oixk_blI4sj6yLCGkU6gI6F…:1
(anonymous) @ ScriptResource.axd?d=cmIcXiVJ__exjjpjrN730holjtn5m-UfCbMUoOhglL6hInC9jE17Ld9Oixk_blI4sj6yLCGkU6gI6F…:1
ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31 Uncaught TypeError: Cannot read property 'Down' of undefined
    at ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31
    at ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:320
(anonymous) @ ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31
(anonymous) @ ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:320
ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299 Uncaught TypeError: Cannot read property 'registerClass' of undefined
    at ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299
    at ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:301
(anonymous) @ ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299
(anonymous) @ ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:301
ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17 Uncaught TypeError: Cannot read property 'fn' of undefined
    at ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17
    at ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:59
(anonymous) @ ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17
(anonymous) @ ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:59
ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664 Uncaught TypeError: Cannot read property 'makeArray' of undefined
    at ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664
    at ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3780
(anonymous) @ ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664
(anonymous) @ ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3780
ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850 Uncaught TypeError: a is not a function
    at c.RadTabStrip._initializeKeyboardNavigation (ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850)
    at c.RadTabStrip.initialize (ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:1067)
    at c.RadTabStrip.Sys$Component$endUpdate [as endUpdate] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3685)
    at Sys$Component$create (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3834)
    at Array.<anonymous> (Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&UseRSM=true&renderMode=1&Skin=Default&Titl…:856)
    at ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3484
    at Sys$_Application$_raiseInit [as _raiseInit] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5084)
    at Sys$_Application$initialize [as initialize] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:4934)
    at init (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5038)
    at HTMLDocument.check (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5049)
_initializeKeyboardNavigation @ ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850
initialize @ ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:1067
Sys$Component$endUpdate @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3685
Sys$Component$create @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3834
(anonymous) @ Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&UseRSM=true&renderMode=1&Skin=Default&Titl…:856
(anonymous) @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3484
Sys$_Application$_raiseInit @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5084
Sys$_Application$initialize @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:4934
init @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5038
check @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5049

Of course the dialogs are not working.

We set up a new test project with the same telerik settings for the web.config and the inpage script manager etc. and of course everything is working :-(. So we can not reproduce the error.

   <telerik:RadScriptManager  ID="SM1" runat="server"  EnableScriptCombine="false">
      <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:RadWindowManager runat="server" ID="Rwm"></telerik:RadWindowManager>
<div class="editContainer">
         <telerik:RadEditor RenderMode="Classic" ID="edit1" Runat="server" Skin="Default"></telerik:RadEditor>
  </div>

      <handlers>
         <remove name="ChartImage_axd" />
         <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
         <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_DialogHandler_aspx" />
         <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_RadUploadProgressHandler_ashx" />
         <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_WebResource_axd" />
         <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
         <remove name="ChartImageHandler" />
         <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </handlers>

 

      <httpHandlers>
         <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />         
         <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
         <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
         <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
      </httpHandlers>

Anyone ever stumbled about anything like that?

1 Answer, 1 is accepted

Sort by
1
Rumen
Telerik team
answered on 24 Feb 2017, 01:14 PM

The problem was due to the nonexisting "Enabled" value of the EnableEmbeddedjQuery web.config attribute, e.g.

<add key="Telerik.ScriptManager.EnableEmbeddedjQuery" value="Enabled" /> 

The available options are true and false.

Best rRegards,

Rumen

Telerik by Progress

Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Lars
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or