+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / how to add generic content editor in user control properites in sitefinity 3.7 ?

how to add generic content editor in user control properites in sitefinity 3.7 ?

7 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    20 Dec 2010
    Link to this post
    HI,

    how to add generic content editor in user control properties in sitefinity 3.7 ? for example i added control to pages from administrator.after adding control to page by admin(from admin side) when admin(from admin side) click edit button, i want show generic content editor there instead of text field. how to do this ? please guide me and provide some example and methods in details.


    thanks
    Humayoo
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Dec 2010
    Link to this post
    Hello humayoo,

    Please take a look at this post Creating Generic Content Controls

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    20 Dec 2010
    Link to this post
    Hi,

    i need to do like this attachment. i want description text field as rad editor(generic content editor).please see the attachment. please provide some details and step by step procedure.

    thanks
    Humayoo
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Dec 2010
    Link to this post
    Hello humayoo,

    You cannot have RadEditor instead of the TextBox. You should use WebEditor or ControlDesigner as suggested in the posts.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    20 Dec 2010
    Link to this post
    Hi,
    when i use webeditor then flash manager open behind the radeditor .please see the attachment. how to solve this problem?
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Dec 2010
    Link to this post
    Hi humayoo,

    Increase the Z-index of the RadEditor window or decrease the z-index of the main window.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    20 Dec 2010
    Link to this post
    HI,

    how to set z-index programmatically?  here is my code.
    protected override void CreateChildControls()
    {
        base.CreateChildControls();
        editor = new RadEditor();
        editor.ToolsFile = "~/Sitefinity/Admin/ControlTemplates/EditorToolsFileForFlash.xml";
        editor.ContentAreaCssFile = "~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorContentAreaForFlash.css";
         
        Controls.Add(editor);
        string editorContent = this.editor.Content;
        if (String.IsNullOrEmpty(Value))
            this.Value = editor.Content.ToString();
        editor.Content = this.Value;
    }
Register for webinar
7 posts, 0 answered