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

Deriving from RadEditor

15 Answers 140 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
maheshvd
Top achievements
Rank 1
maheshvd asked on 23 Jun 2007, 01:32 AM
 Hi all,
I've installed the wsp file and the contents get displayed in RadEditor now. My question is:
Is it possible to extend the Lite RadEditor for MOSS in WCM scenario using a server control to override somem methods exposed? I need to override render method to tweak the HTML before its rendered to client browser?  If so, how to reference the assembly in Visual studio?
Also it is possible to add new buttons to HTML toolbar? Moreover, can those buttons be customized, in the sense different buttons for different placeholders?
Thanks in advance.
Mahesh

15 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 26 Jun 2007, 07:41 AM
Hi maheshvd,

The easiest way to reference the RadEditorSharePoint.Dll in VS2005 is to follow these steps:
  1. Rename the RadEditorMoss.wsp file to RadEditorMoss.cab so you can open it with an archiver software like WinZip, WinRar etc.
  2. Extract the RadEditorSharePoint.Dll from the cab file
  3. Now you can reference the assembly in VS
As for your second question - yes, you can add your own custom buttons to the toolbars. You will need to add the tools in the ToolsFile.xml and also write your own Javascript that will handle this tools. More info on the subject is available in the documentation.



All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 02 Jul 2007, 05:25 PM
Hi Georgi,

Thanks for the tip. I got it working after overriding some methods.
As regards to customizing tools, I'm still not clear as to how can I have multiple ToolsFile.xml for multiple controls?
My requirement is to have different sets of buttons for different fileds.
Could you please clarify this?
Thanks and regards,
Mahesh
0
Lini
Telerik team
answered on 03 Jul 2007, 05:51 AM
Hi Mahesh,

Currently it is not possible to customize the tools file and config file for the WCM editor. We have added this feature for the next release (which is scheduled for tomorrow).

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 03 Jul 2007, 04:55 PM
Thanks Lini.
I'll wait till tomorrow and download the new version.
Is having different toolbar buttons on different fields possible with the full featured RadEditor version?

Thanks and regards,
Mahesh
0
Lini
Telerik team
answered on 04 Jul 2007, 07:04 AM
Hi,

Yes, it will be possible to have different tools files and config files for the WCM field editor with the new version. You will just need to set the ToolsFile and/or ConfigFile properties from SharePoint Designer and that's it.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 05 Jul 2007, 05:19 PM
Bothering you again.
I assume this feature will be available in both Lite and full featured versions. Correct me if I'm wrong.
Where from can I download the new Lite version?

Thanks and regards,
Mahesh
0
Georgi Tunev
Telerik team
answered on 06 Jul 2007, 01:03 PM
Hello Mahesh,

The Lite version can be downloaded from the following Url:
http://www.telerik.com/products/sharepoint/lite-editor-for-asp.net.aspx




All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 09 Jul 2007, 06:46 PM
Hi Georgi,
The download doesnt seem to reflect the latest version (which would have configurable differenct sets of toolbar buttons for each field).
I've downloaded this version but it contains same old files.
Could you point me to the new version?
Thanks and regards,
Mahesh
0
Lini
Telerik team
answered on 16 Jul 2007, 11:52 AM
Hi Mahesh,

I am sorry for the misunderstanding. The release was postponed due to some last minute problems with the editor configuration. Version 1.1 is the old build. Unfortunately, at the moment I cannot give you a specific date when the new version will be released. Check back in a few days for more information.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 16 Aug 2007, 12:14 AM
Hi,
I've downloaded and installed new version of LiteRadEditor. Just wanted to confirm with you guys whether adding tools to toolbar is possible with the free/Lite version.
Also want to confirm whether having different ToolsFile.xml for different placeholders is possible with the full featured version?
Thanks and regards,
Mahesh
0
Lini
Telerik team
answered on 16 Aug 2007, 07:24 AM
Hi Mahesh,

You can change the tools file for the Lite editor. However, not all tools are available in the Lite version so you are limited - e.g. you do not have the flash, media managers, etc. For a full list of tools you can use, check the following document - http://www.telerik.com/documents/RadEditorMOSS_Feature_Comparison.pdf

You can also set a different tools file for each WCM field editor, using SharePoint designer. Check the RadEditor for MOSS 4.31 documentation for more information on how to do that.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 16 Aug 2007, 06:58 PM
Thanks Lini for those inputs.
I'm wondering whether adding new (my own) toolbar buttons would be possible in the Lite version. This is possible in the out-of-box sharepoint HTML toolbar. We can associate javascript to custom button to take action when the button is clicked.
Is that possible?
Regards,
Mahesh
0
Lini
Telerik team
answered on 17 Aug 2007, 05:54 AM
Hi,

Yes, adding a custom button is possible. However, you need to decide where to put the JavaScript code for the button. I suppose that you will need to edit the page/form itself using SharePoint Designer and add the script there.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
maheshvd
Top achievements
Rank 1
answered on 20 Aug 2007, 09:06 PM
Hey Lini,
Good to know that additional buttons can be added. The documentation does not mention this specifically though. Could u provide a example of this? I'm not clear where the image of the button can be specified. I can add the javascript to the Master page which will handle the click event, but how to associate it with the button etc?
Highly appreciate your help in this regard.
Mahesh
0
Lini
Telerik team
answered on 21 Aug 2007, 05:59 AM
Hi,

You can find out how to add a custom button in the RadEditor for ASP.NET documentation - http://www.telerik.com/help/aspnet/editor/?AddingYourOwnButtons.html

As the above article shows, the image should go in the editor's current skin folder.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
maheshvd
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
maheshvd
Top achievements
Rank 1
Lini
Telerik team
Share this question
or