RadEditor issue

4 posts, 1 answers
  1. John
    John avatar
    31 posts
    Member since:
    May 2011

    Posted 08 Jun 2011 Link to this post

    I have a RadEditor on a page.

    It works fine when debugged/browsed locally through Visual Studio.

    When running on our server the dialog windows often fail to load, as per the attached screen capture.

    One possible reason is that the server has Windows Authentication and no anonymous access to the folder that the script is running in.

    On another topic, I also notice that sometimes I get errors when the RadAjax content is updated: ...WebResource.axd?... This is an invalid webresource request.

    I did have to set EnableScriptCombine to false in the RadScript Manager for AJAX to work at all.

    Is there some changes necessary for these to work in a protected folder or is the problem likely to be something else?
  2. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 08 Jun 2011 Link to this post

    Turn off the friendly message in IE, tools/options to see the actual error.
  3. John
    John avatar
    31 posts
    Member since:
    May 2011

    Posted 08 Jun 2011 Link to this post

    Show friendly errors is not turned on.

    I was watching the request/response through ieHTTPHeaders and it seems that the first dialog is opened successfully, but when you request any different dialog there is no HTTP request made at all.
  4. Answer
    Rumen
    Admin
    Rumen avatar
    13804 posts

    Posted 10 Jun 2011 Link to this post

    Hi John,

    You could get this error if some monitoring program such as WebSense, Firewall or a Proxy server decreases the URL length for example to 1700 symbols which breaks the loading of the editor dialogs. You can see the following help article how to fix this issue: Blank Dialogs Problem.

    Another option is to try the following JavaScript workaround on the page where the editor is:

    <scripttype="text/javascript">
    function setUrlLength(editor)
    {
    editor.get_dialogOpener()._dialogUrlLengthLimit = 500;
    }
    </script>
    <telerik:RadEditor ID="RadEditor1" runat="Server" OnClientLoad="setUrlLength".../>

    This workaround limits the maximum URL length for the editor dialogs to 500 characters (from the default 2000). This should fix the problem.


    Kind regards,
    Rumen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top