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

Dialog issues

1 Answer 33 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Angie
Top achievements
Rank 1
Angie asked on 11 Jan 2011, 11:31 PM
I'm having trouble getting my dialog boxes to work (Image Manager).

The code works fine in the main page of our site, the handler code is added to the web config.  I suspect the issue has something to do with the fact that the website to which I am trying to add the editor is running as a subapplication of our main website, so it is not finding the proper path for the user controls?

<

 

telerik:radeditor runat="server" ID="radEditor" AllowScripts="false" OnClientCommandExecuting="OnClientCommandExecuting" OnClientLoad="OnClientLoad" AutoResizeHeight=false EnableResize="false" Skin="Vista" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" />

Web config:

 

<httpHandlers>
     <remove verb="*" path="*.asmx" />
     <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
       <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
       <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
   </httpHandlers>

The spell check is also throwing a JSON error.  I am not sure if this is related also.  Again, this is all working fine on one page, but not on another.

I think it just can't find the dialog contrl.  Any suggestions on how to get this working?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 14 Jan 2011, 12:26 PM
Hi Angie,

I answered your support ticket. For your convenience I am pasting below my answer:

Can you please open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd? After that set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd".

If the path to the Telerik.Web.UI.DialogHandler.axd is wrong you will still experience the HTTP handler error.
In this case you can test with:

DialogHandlerUrl="/Telerik.Web.UI.DialogHandler.axd"
DialogHandlerUrl="~/subapplicationName/Telerik.Web.UI.DialogHandler.axd"
etc.

If you unable to solve both problems, please isolate them in a sample working application and send it for examination. Please, also provide a live url to the problematic page with RadEditor so that we can examine it with Fiddler and Firebug.


Best 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
Angie
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or