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

RadEditor Dialog Window Errors

1 Answer 142 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kathleen Fisher
Top achievements
Rank 1
Kathleen Fisher asked on 21 May 2012, 08:44 PM

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.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 May 2012, 11:48 AM
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.
Tags
Editor
Asked by
Kathleen Fisher
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or