Rad Editor's Dialogs are not showing up

4 posts, 1 answers
  1. Sunil P
    Sunil P avatar
    7 posts
    Member since:
    Nov 2009

    Posted 20 Jun 2014 Link to this post

    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>








  2. Sunil P
    Sunil P avatar
    7 posts
    Member since:
    Nov 2009

    Posted 20 Jun 2014 Link to this post

    Error Message,


  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sunil P
    Sunil P avatar
    7 posts
    Member since:
    Nov 2009

    Posted 20 Jun 2014 in reply to Sunil P Link to this post

    Sorry for missing error message
  5. Answer
    Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 20 Jun 2014 Link to this post

    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.

     
Back to Top