Deriving from RadEditor

16 posts, 0 answers
  1. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 22 Jun 2007 Link to this post

     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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 26 Jun 2007 Link to this post

    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

  3. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 02 Jul 2007 Link to this post

    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
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 03 Jul 2007 Link to this post

    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
  5. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 03 Jul 2007 Link to this post

    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
  6. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 04 Jul 2007 Link to this post

    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
  7. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 05 Jul 2007 Link to this post

    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
  8. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 06 Jul 2007 Link to this post

    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
  9. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 09 Jul 2007 Link to this post

    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
  10. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 16 Jul 2007 Link to this post

    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
  11. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 15 Aug 2007 Link to this post

    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
  12. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 16 Aug 2007 Link to this post

    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
  13. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 16 Aug 2007 Link to this post

    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
  14. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 17 Aug 2007 Link to this post

    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
  15. maheshvd
    maheshvd avatar
    11 posts
    Member since:
    Feb 2007

    Posted 20 Aug 2007 Link to this post

    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
  16. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 21 Aug 2007 Link to this post

    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
Back to Top