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

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

2 Answers 134 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 11 Jun 2009, 11:48 AM
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 Answers, 1 is accepted

Sort by
0
Vinay
Top achievements
Rank 1
answered on 16 Jun 2009, 06:49 AM
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
0
Stanimir
Telerik team
answered on 16 Jun 2009, 12:58 PM
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.
Tags
WebParts for SharePoint
Asked by
Vinay
Top achievements
Rank 1
Answers by
Vinay
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or