I'm trying to create a custom Webpart which should work similar to the "Telerik RadEditor for Moss", but with some kind of extended functionality. Also it has to derive from a custom Webpart Base Class which we use in the Project. This base class derives itself from System.Web.UI.WebControls.WebParts.WebPart
I found this tiny bit of documentation here:
Is there any more documentation about this somewhere, because i don't know whats is actually needed for the MossRadEditor class to be used within an Weppart. This class is also missing from the API Reference. So i looked with the .net Reflector into the code of the Telerik.SharePoint.RadEditorWebPart, but i'm stuck a little. I don't know what is necesary for me to get it working. Also this WebPart is based on Microsoft.SharePoint.WebPartPages.WebPart which is different somehow.
So far am having a WebPart and a correspondending EditorPart. The Webpart creates a MOSSRadEditor Object, a Literal Control to Show the Content in Display mode, and a Text Field which should save the actuall content.
The EditorPart adds the MOSSRadEditor Objects to the WebPart Controls Collection which works so far. But when i want to save the created content in the ApplyChanges Method of the Editor Part, i can't manage to get the field from which i could read the actual content.
I notice there is some Java Script involved in the RadEditorWebPart class, but i don't know if i need that. Also i'm having trouble setting the ToolsFile Property of the MOSSRadEditor Object. Whenever i do, i get an IO Exception, whereas setting the ConfigFile property is no problem. The File i want to set is definetaly there. I'm using version 5.8.5 of the RadEditorSharepoint.dll