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

[Solved] RadEditor in Custom Web Part

2 Answers 33 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vaughn
Top achievements
Rank 1
Vaughn asked on 16 Sep 2010, 04:17 PM
Never Mind, I found the answer: http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx

I am attempting to use the RadEditor inside a custom web part; i don't want it to be a standalone wep part, so I'm not using the one developed for that purpose; I'm using the one normally used on ASP.NET pages.

I have successfully installed AJAX 3.5, and am using the generic ASP.NET ScriptManager, not the RadScriptManager.

The RadEditor opens in my custom web part, and basically works, but when I open editing dialogs, I get the "Web.config registration missing" error, and a "Web page cannot be found" screen.

I have registered the HttpHandler in the SharePoint site's base web.config file (the one in the root directory) as :
<system.webServer>
      <validation validateIntegratedModeConfiguration="false"/>
      <modules>
            (modules registered here)
      </modules>
      <handlers>
            (other handlers here)
             <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode"
             path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI,
             Version=2010.2.713.35 , Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
      </handlers>
</system.webServer>

Is there something else I have to do? Any assistance would be greatly appreciated.

Never Mind, I found the answer: http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx

2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 21 Sep 2010, 08:27 AM
Hello Vaughn,

Please, open the web.config file and rename the handler extension from .aspx to .axd , e.g.
Telerik.Web.UI.DialogHandler.axd

After that set the value of the RadEditor's DialogHandlerUrl property to Telerik.Web.UI.DialogHandler.axd


Kind regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vaughn
Top achievements
Rank 1
answered on 21 Sep 2010, 05:37 PM
Thank you Stanimir, that is exactly the correct answer. I had already found it at 
 http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx
Nonetheless, I greatly appreciate your taking the time to reply.

Thanks again!


Tags
RadEditor
Asked by
Vaughn
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Vaughn
Top achievements
Rank 1
Share this question
or