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

RadEditor set editor's background window color using color picker

3 Answers 101 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 18 Dec 2012, 06:08 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 19 Dec 2012, 01:16 PM
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.
0
Dev
Top achievements
Rank 1
answered on 28 Dec 2012, 10:06 AM
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

 
0
Accepted
Rumen
Telerik team
answered on 02 Jan 2013, 10:41 AM
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.
Tags
Editor
Asked by
Dev
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Dev
Top achievements
Rank 1
Share this question
or