RadEditor Dialog Window Errors

2 posts, 0 answers
  1. Kathleen Fisher
    Kathleen Fisher avatar
    7 posts
    Member since:
    Apr 2005

    Posted 21 May 2012 Link to this post


    I am having a problem with some of the tool dialogs in RadEditor.

    I tried installing the latest release but the sale problem is occurring. The problem is with the Flash, MediaManager, LinkManager and TemplateManager dialogs, which all cause a 403 error. The First 2 dialog controls "ImageManager and DocumentManager" work correctly with no errora.
    I have traced it down what I believe is the root cause which is the broken dialogs are generating a bad/truncated url that is missing the "Telerik.Web.UI.DialogHandler.aspx?" url portion.

    Bad URL:
    http://localhost:80/MySite/Providers/HtmlEditorProviders/Telerik/?tabid=184&DialogName=MediaManager..............................

    http://localhost:80/MySite/Providers/HtmlEditorProviders/Telerik/?Tabid=184&DialogName=MediaManager&Skin=Vista&Title=Media%20Manager&doid=..........

    Good URL:
    http://localhost/MySite/Providers/HtmlEditorProviders/Telerik/Telerik.Web.UI.DialogHandler.aspx?tabid=184&DialogName=ImageManager&Skin=Vista&.......

    ======================

    Do you have any idea why only some of the dialogs/tool have the incorrectly formatted URL and how I can resolve it.

    Many thanks.

  2. Rumen
    Admin
    Rumen avatar
    14370 posts

    Posted 22 May 2012 Link to this post

    Hi,

    Some monitoring program such as proxy, firewall, etc is blocking the dialog URL due to its length. The problem is described in the following article: Blank Dialog Problem.

    If you unable to fix it by reconfiguring this tool, you can solve the issue by reducing the URL length of the dialog using this code:
    <script type="text/javascript">
    function setUrlLength(editor)
    {
      editor.get_dialogOpener()._dialogUrlLengthLimit = 500;
    }
    </script>
    <telerik:RadEditor ID="RadEditor1" runat="Server" OnClientLoad="setUrlLength" />

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top