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

RadEditor issue

3 Answers 88 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 08 Jun 2011, 06:59 AM
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?

3 Answers, 1 is accepted

Sort by
0
Lenny_shp
Top achievements
Rank 2
answered on 08 Jun 2011, 02:21 PM
Turn off the friendly message in IE, tools/options to see the actual error.
0
John
Top achievements
Rank 1
answered on 09 Jun 2011, 12:13 AM
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.
0
Accepted
Rumen
Telerik team
answered on 10 Jun 2011, 02:58 PM
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.

Tags
Editor
Asked by
John
Top achievements
Rank 1
Answers by
Lenny_shp
Top achievements
Rank 2
John
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or