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

Rad Editor's Dialogs are not showing up

3 Answers 160 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sunil P
Top achievements
Rank 1
Sunil P asked on 20 Jun 2014, 05:31 AM
I am using RadEditor on a aspx page. All it's dialogs (hyperlink manager, image manager etc.,) were working fine. Now I have introduced Routing to my application, and all dialogs have stopped working. I thought that, this is because of Telerik DialogHandlers. So I have stopped routing for below page types. 

        routes.Add(New Route("{resource}.aspx/{*pathInfo}", New StopRoutingHandler()))
        routes.Add(New Route("{resource}.ajascx/{*pathInfo}", New StopRoutingHandler()))
        routes.Add(New Route("{resource}.axd/{*pathInfo}", New StopRoutingHandler()))

Since Telerik is using DialogHandler.aspx as Dialog handler, I was hoping this will resolve my issue. But it didnot.

Please help me on this


Web.config entries

<httpHandlers>
           <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
           <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
           <add path="Telerik.Web.UI.DialogHandler.aspx" type="CustomHandler.SessionStateDialogHandler, App_Code" verb="*" validate="false"/>
           <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
</httpHandlers>

<handlers>
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*"                            preCondition="integratedMode,runtimeVersionv2.0"/>
          <add name="Telerik_Web_UI_DialogHandler_aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" type="CustomHandler.SessionStateDialogHandler,                                    App_Code" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"                      verb="*" preCondition="integratedMode,runtimeVersionv2.0"/>
         <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*"                                                      preCondition="integratedMode,runtimeVersionv2.0"/>
</handlers>








3 Answers, 1 is accepted

Sort by
0
Sunil P
Top achievements
Rank 1
answered on 20 Jun 2014, 05:34 AM
Error Message,


0
Sunil P
Top achievements
Rank 1
answered on 20 Jun 2014, 05:37 AM
Sorry for missing error message
0
Accepted
Ianko
Telerik team
answered on 20 Jun 2014, 10:56 AM

Hi Sunil,

This KB article provides useful details about how to handle dialog issues in such scenarios.

I would recommend using the following one:

  1. open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
  2. set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"


Regards,

Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Sunil P
Top achievements
Rank 1
Answers by
Sunil P
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or