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

RadEditor throwing error on clicking Image/Document Manager

3 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CS
Top achievements
Rank 1
CS asked on 15 Apr 2016, 07:14 AM

We are using Rad Editor, to attach the images (ImageManager/Document Manager) is not loading any images in the image list (IE Version 11).

Allowed file types are :

Editor.DocumentManager.SearchPatterns = "*.jpg,*.gif,*.png,*.xlsx"

<radE:RadEditor ID="txtSummary" runat="server" Width="100%">
 <Tools>
  <radE:EditorToolGroup Tag="FileManagers">
  <radE:EditorTool Name="ImageManager"></radE:EditorTool>
  <radE:EditorTool Name="FlashManager"></radE:EditorTool>
  <radE:EditorTool Name="SilverlightManager"></radE:EditorTool>
  <radE:EditorTool Name="MediaManager"></radE:EditorTool>
  <radE:EditorTool Name="DocumentManager"></radE:EditorTool>
  <radE:EditorTool Name="TemplateManager"></radE:EditorTool>
  </radE:EditorToolGroup>
 
  <radE:EditorToolGroup>
   <radE:EditorTool Name="Bold"></radE:EditorTool>
   <radE:EditorTool Name="Italic"></radE:EditorTool>
   <radE:EditorTool Name="Underline"></radE:EditorTool>
                                                <radE:EditorSeparator></radE:EditorSeparator>
    <radE:EditorTool Name="ForeColor"></radE:EditorTool>
    <radE:EditorTool Name="BackColor"></radE:EditorTool>
                                                <radE:EditorSeparator></radE:EditorSeparator>
   <radE:EditorTool Name="FontName"></radE:EditorTool>
   <radE:EditorTool Name="RealFontSize"></radE:EditorTool>
</radE:EditorToolGroup>
</Tools>
<ImageManager ViewPaths="~/~/ProcedureFiles"
 UploadPaths="~/~/ProcedureFiles"
 DeletePaths="~/~/ProcedureFiles"
 EnableAsyncUpload="true" />
 
<DocumentManager ViewPaths="~/ProcedureFiles/"
  UploadPaths="~/ProcedureFiles/"
  DeletePaths="~/ProcedureFiles/"
  EnableAsyncUpload="true" />
 
</radE:RadEditor>

Its throwing the following errors.

Unhandled exception at line 3803, column 12 in http://localhost/Library/ScriptResource.axd?d=-OwWv7kMazlnT84or3DaABf0Rx3lQ3jmA23fkYROVeBatFujmuauLIOffg5E69PMauAcYj9hBzbh8kAq-T8iFUCOAxNRVGeQUpLXW6_l01e-dFoiBsjO8w4bz4J-tvV9P7uGFxdmN_8RMMkQtTyLBrgcIC9PteUcXEfE6EKLkfB8xU_Aa_DzLhvik6qe1rYN0&t=ffffffffcc58dd65
0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Unhandled exception at line 267, column 1 in http://localhost/Library/ScriptResource.axd?d=LQ5Whl16UJM7jxyUHzS1jKxpZYzOZUx9VwHSufySjIRoyPSM-aLuM1VswJv4TvItpsxCHzNhr49Uktpj_AUkINu9wBkENNExNSVMWC8tkgzGcN-yIiEBIkl4fR0XtDib-kZvZ39n4s_FzcI_oOYfaSs-LxNm3Fgvy1X3Csu-GCs1&t=fffffffffaf2a061
0x800a138f - JavaScript runtime error: Unable to get property 'PageRequestManager' of undefined or null reference

 

Can anyone please help to resolve it !!!

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 19 Apr 2016, 01:34 PM
Hello,

Testing the markup sent does not lead to the same results. Is there anything further that might be relevant to the case? 

Typically, dialogs are loaded via DialogHandler.aspx handler and their JavaScript is fetched via the WebResource.axd. 

Is there anything customized, Dialohs, JavaScript? 

Any further details on the case will be useful to properly define the situation.

Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
CS
Top achievements
Rank 1
answered on 20 Apr 2016, 12:01 PM

Hello lanko,

Thanks for the quick reply.

There is no customization used in DialogueHdlr or JavaScript.

Following is the web config details

<httpHandlers>
 <!--<remove verb="POST,GET" path="*.ashx"/>-->
 <!--<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>-->
 <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
 <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
 <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
 <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
 </httpHandlers>

0
Ianko
Telerik team
answered on 22 Apr 2016, 05:16 AM
Hello,

Can you provide a runnable project that shows the problem so that I can examine the situation properly?

Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
CS
Top achievements
Rank 1
Answers by
Ianko
Telerik team
CS
Top achievements
Rank 1
Share this question
or