Dynamic Content Update using RadEditor in WSS

2 posts, 0 answers
  1. sanjay
    sanjay avatar
    3 posts
    Member since:
    Oct 2007

    Posted 17 Jul 2009 Link to this post

    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
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 21 Jul 2009 Link to this post

    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.

Back to Top