Problem Adding RadEditor Dynamically

3 posts, 0 answers
  1. Harsimran
    Harsimran avatar
    2 posts
    Member since:
    Apr 2012

    Posted 17 Apr 2012 Link to this post

    Hey!

    I'm having trouble adding RadEditor to the page Dynamically

    This is my code:
                                // RadEditor for HTML Editor
                                RadEditor editor = new RadEditor();
                                editor.Enabled = true;
                                editor.ToolbarMode = EditorToolbarMode.Default;
                                editor.EnableAjaxSkinRendering = true;
                                editor.Skin = "Office2010Blue";
                                editor.ContentAreaMode = EditorContentAreaMode.Div;
                                editor.RegisterWithScriptManager = true;
                                objControls.Controls.Add(editor);

    Not sure what's wrong.  I'm using SharePoint, but I have configured SharePoint according to this guide: http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

    Thanks!
  2. Harsimran
    Harsimran avatar
    2 posts
    Member since:
    Apr 2012

    Posted 19 Apr 2012 Link to this post

    A little more information:

    1. I'm adding the RadEditor inside of an UpdatePanel
    2. The problem is that the RadEditor is not functional.  I cannot click anywhere, or perform any actions, or write any HTML.  It's like its disabled.

    Many Thanks!
  3. Rumen
    Admin
    Rumen avatar
    14351 posts

    Posted 20 Apr 2012 Link to this post

    Hi,

    My recommendation is to use the RadEditor for MOSS (in SharePoint 2007) or RadEditor for SharePoint 2010 (in SharePoint 2010) applications. They are especially designed to work in these environments and their File Browser dialogs use custom providers that are built to work with the SharePoint database.

    If you still would like to use the editor in a custom SharePoint solution use the information provided in the following article: Using RadEditor in custom MOSS solutions.

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top