Exception Telerik.Web.UI.DialogHandlerNoSession

6 posts, 0 answers
  1. Naveed
    Naveed avatar
    3 posts
    Member since:
    Aug 2020

    Posted 28 Aug 2020 Link to this post

    Please see attached screen shots for exception details and aspx page control where exception is raised.

     

    Steps to reproduce exception:

    I have Telerik rich text editor on aspx page in update mode, so text is loaded from DB and I can edit and save it.When I click Find Replace button with Binoculars icon in screen shot, the find replace popup appears fine but exception is raised in Prefix and Retrace tools by Stackify.

    Any ideas? Thanks.


  2. Rumen
    Admin
    Rumen avatar
    14420 posts

    Posted 31 Aug 2020 Link to this post

    Hi Naveed,

    Do you experience this problem with other dialogs like the Image Manager?

    If it applies only to the Find and Replace dialog, can you please tell me whether it is customized? ? RadEditor offers the ability to customize its built-in dialogs by setting the ExternalDialogsPath property to point to a folder containing its external dialog files that allows their customization? If yes, you will need to update the FindAndReplace.ascx file from the same installation as the Telerik.Web.UI.dll and to customize it from scratch.

    If the dialog is not customized/modified please provide a simple working project which demonstrates the problem and I will examine the error locally.

     

    Regards,
    Rumen
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

  3. Naveed
    Naveed avatar
    3 posts
    Member since:
    Aug 2020

    Posted 01 Sep 2020 in reply to Rumen Link to this post

    Hi Rumen,

     

    Let me look into your post and examine my project in detail. Thanks.

  4. Rumen
    Admin
    Rumen avatar
    14420 posts

    Posted 01 Sep 2020 Link to this post

    Please take your time, Naveed!

    It will be great if you could provide any reproduction steps or a simple runnable project which demonstrates the issue.

     

    Regards,
    Rumen
    Progress Telerik

    Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

  5. Naveed
    Naveed avatar
    3 posts
    Member since:
    Aug 2020

    Posted 11 Sep 2020 in reply to Rumen Link to this post

    I have created a sample application and now its giving another error and not opening the dialog box when I click on Find and Replace in telerik:RadEditor control. I have also placed handlers in config file still it is not opening. Please download the sample application.

    Download Link:
    http://www.mediafire.com/file/na04doux38b309o/Sample+APP.zip/file

     

  6. Rumen
    Admin
    Rumen avatar
    14420 posts

    Posted 14 Sep 2020 Link to this post

    Hi Naveed,

    The problem is due to the routing and especially this line:

    settings.AutoRedirectMode = RedirectMode.Permanent;

    which breaks the dialog handler responsible for the RadEditor dialog.

    The problem is discussed in this KB article - https://www.telerik.com/support/kb/aspnet-ajax/editor/details/error-web-config-registration-missing!-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file-

    The solution is to exclude the Telerik.Web.UI.DialogHandler.aspx handler from the routing.

    <telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" SkinID="BasicSetOfTools" Width="800px" >
    

       <system.web>
        <compilation debug="true" targetFramework="4.7.2" />
        <httpRuntime targetFramework="4.7.2" />
        <pages>
          <namespaces>
            <add namespace="System.Web.Optimization" />
          </namespaces>
          <controls>
            <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
          </controls>
        </pages>
        <httpHandlers>
          <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
      </system.web>
    
     <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
          <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" />
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
        </handlers>
      </system.webServer>

    Regards,
    Rumen
    Progress Telerik

    Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Back to Top