problem in using RAD editor lite in custom usercontrol hosted in Sharepoint webpart

3 posts, 0 answers
  1. Vinay
    Vinay avatar
    2 posts
    Member since:
    Jun 2009

    Posted 11 Jun 2009 Link to this post

    Hi,
    Here is what I'm trying to do:
    I have a usercontrol hosted in a webpart in a sharepoint page. This usercontrol had a RAD editor(asp.net, RadEditor.net2.dll versioned, 7.2.1.0) which was working fine.
    We have a requirement of introducing Image uploader for editor. Which did work fine when we had the image upload path defined in windows file system folder through virtual url. But since the production scenario have several front ends, maintaining the image uploaded in any one of the server would cause to have no image on other front ends. For same reason(to avoid the problem of syncing image folders of all front ends) we decided to maintain the images in Picture document library of Sharepoint. But obviously the usual RAD editor did not pick images from picture library of sharepoint.
    This is when we went for RAD Editor lite. We want to use RAD editor lite in same way we used earlier version of Rad editor(asp.net control). I tried to declare it in user control as:(method mentioned in SDK of Rad editor lite in "Using RadEditor in custom MOSS solutions" section)
    MOSSRadEditor contentEditor = new MOSSRadEditor();
    But the building of project it self is failing with error as no constructors defined for same.
    I also tried to declare it in user control directly as :
    <radE:MOSSRadEditor  .....>
                            </radE:MOSSRadEditor>
    with appropriate register tags in the user control. But the tag is not at all recognized(we used previous RAD editor in similar fashion).

    Now my questions are:
    1. How can I use RAD editor Lite in a user control(how to declare the editor) ?
    2. Can the older RAD editor be configured to use images from Sharepoint picture library? If yes, how?
    3. or is there a bettter solution for the above mentioned problem scenario?
  2. Vinay
    Vinay avatar
    2 posts
    Member since:
    Jun 2009

    Posted 16 Jun 2009 Link to this post

    Hi,
     As I mentioned in previous post, using image uploader in a RAD editor in a farm with multiple front ends will always be a problem, if we cannot upload the image to a centralized database or list(in case of MOSS), when the question of syncing the folders arise on multiple front ends owing to the fact that image is uploaded into any of the front end server, depending on load balancer's choice.
    I think if this problem is addressed, it can pretty much solve my problem as well (in which case i need not go for Rad editor Lite at all).

    Am I getting anything wrong with my assumptions regarding the image uploader's role in farm ( Same can be applicable for Document uploader and Spell check "Add words to dictionary" as well) ?
    Can anyone please address this issue (using RAD editor lite in custom usercontrol) or image uploader paradox in a farm set up?
    Expecting a reply soon... :)

    Thanks,
    Vinay

  3. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 16 Jun 2009 Link to this post

    Hi Vinay,

    Here are the answers of your questions.

    1. How can I use RAD editor Lite in a user control(how to declare the editor) ? - You can not use the Lite version of RadEditor for MOSS in user controls as MOSSRadEditor. The reason for this is that the control is designed without public constructor.

    2. Can the older RAD editor be configured to use images from Sharepoint picture library? If yes, how? - There is not an easy way to achieve the desired functionality.

    3. or is there a better solution for the above mentioned problem scenario?
    - The better solution is to use the full version of RadEditor for MOSS. I can see that there are no purchases or licenses attached to your account. If you open an official support ticket (use the Ticket ID of this forum thread as reference) from the account used for the purchase of your RAD editor(asp.net, RadEditor.net2.dll version, 7.2.1.0). I will be able to send you a full version for RadEditor for MOSS, which will be corespondent to the RadEditor that you own and it is no longer available for download.


    Best wishes,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top