RadEditor throwing error on clicking Image/Document Manager

4 posts, 0 answers
  1. CS
    CS avatar
    4 posts
    Member since:
    Oct 2015

    Posted 15 Apr Link to this post

    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 !!!

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 19 Apr Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. CS
    CS avatar
    4 posts
    Member since:
    Oct 2015

    Posted 20 Apr Link to this post

    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>

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 22 Apr Link to this post

    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.
Back to Top