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

Exception Telerik.Web.UI.DialogHandlerNoSession

5 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Naveed
Top achievements
Rank 1
Naveed asked on 28 Aug 2020, 03:49 PM

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.


5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Aug 2020, 10:14 AM

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/.

0
Naveed
Top achievements
Rank 1
answered on 01 Sep 2020, 01:07 PM

Hi Rumen,

 

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

0
Rumen
Telerik team
answered on 01 Sep 2020, 01:50 PM

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).

0
Naveed
Top achievements
Rank 1
answered on 11 Sep 2020, 08:02 PM

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

 

0
Rumen
Telerik team
answered on 14 Sep 2020, 10:31 AM

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).

Tags
General Discussions
Asked by
Naveed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Naveed
Top achievements
Rank 1
Share this question
or