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

RadEditor in a custom web part

1 Answer 48 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Vaughn
Top achievements
Rank 1
Vaughn asked on 16 Sep 2010, 04:46 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

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 20 Sep 2010, 09:44 AM
Hello Vaughn,

When it comes to MOSS, you need to use RadEditor for MOSS, which has specially designed content provider for its dialogs. So in order to use the control you need to make sure that you deploy the RadEditor for MOSS wsp solution. Then in your custom web part you can use MOSSRadEditor, which is defined in the Telerik.SharePoint namespace of the RadEditorSharePoint assembly.

You can find information on the control in our online help: http://www.telerik.com/help/aspnet-ajax/moss-introduction.html.

Regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Vaughn
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or