RadEditor set editor's background window color using color picker

4 posts, 2 answers
  1. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 18 Dec 2012 Link to this post

    Hello,

    I am using RadEditor in my application to add, edit, display HTML contents. I found that there is non of the control in editor to set background color. I want a button, by clicking which it opens  a color picker and by selecting any color, the selected color set as background color. Also it should be stored as HTML content while saving the record.

    Thanks
  2. Answer
    Rumen
    Admin
    Rumen avatar
    14077 posts

    Posted 19 Dec 2012 Link to this post

    Hello,

    You can use the Page Properties dialog to set the background color of the content area. It will be applied to the body element and saved with the content. You can test the dialog in the Full HTML Page Edit demo.

    Kind 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.
  3. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 28 Dec 2012 Link to this post

    Thanks a lot !! It has worked.. :)

    Now what if I want to hide "Page Attributes" section from "Page Properties" dialog and shrink the dialog to show "Body Attributes" and "Margins" sections only?

    Thanks,
    Dev

     
  4. Answer
    Rumen
    Admin
    Rumen avatar
    14077 posts

    Posted 02 Jan 2013 Link to this post

    Hi,

    The PageProperties dialog ascx file is available as an external dialog file in the EditorDialogs installation folder. You can find information how to customize the external dialogs files in the following live demo: Customizing Built-in Dialogs.

    All the best,
    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