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

Dynamic Content Update using RadEditor in WSS

1 Answer 64 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
sanjay
Top achievements
Rank 1
sanjay asked on 17 Jul 2009, 10:58 AM
Hi

We are using RadEditor 5.3.2.0 in WSS website. For one of our requirement, we need to populate the RadEditor content from the DB. Once the user submit, the same has to be updated back to the DB.

I have gone through the help, "Using RadEditor in custom MOSS solutions" and created my own webpart. But the webpart is not displaying the RadEditor UI or the content that I have assigned to the Content property. But if i click on  modify webpart, I am getting all the RadEditor Properties.

Also there is no help available to save the content back to DB

Please can somebody help me to achive the same in RadEditor?

Thanks

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 21 Jul 2009, 06:56 AM
Hello Sanjay,

I am assuming that this is the article, which you used http://www.telerik.com/help/aspnet-ajax/radeditor-in-custom-moss-solutions.html.

I can see that there is something missing in the CreateChildControls() method.
Here is how the method should look like.
protected override void CreateChildControls() 
    contentEditor = new MOSSRadEditor(); 
    contentEditor.Content = "Enter content..."
    contentEditor.ID = "MOSSRadEditor1"
    Controls.Add(contentEditor); 
    base.CreateChildControls(); 

I hope this helps.

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
sanjay
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or