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

Upload dialog customization

1 Answer 50 Views
Editor
This is a migrated thread and some comments may be shown as answers.
AB
Top achievements
Rank 1
AB asked on 11 Jun 2012, 10:25 AM
Hello,
how can I set the font for the text in the red frames and the color of the external border,
now in green?
Many thanks
AB

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Jun 2012, 02:36 PM
Hello,

You can import your own CSS file in the RadEditor dialogs via the DialogsCssFile property and style their contents as per your requirements:

dialog.css
body, span, input, select { font-family: Garamond !important; font-size: 20px !important; color: Red !important; }

default.aspx
<telerik:RadEditor ID="RadEditor1" runat="server" DialogsCssFile="dialog.css">   
    <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" />
    <DocumentManager ViewPaths="~/Images" UploadPaths="~/Images" />
</telerik:RadEditor>

You can inspect the HTML elements that you want to style with IE developer toolbar and Firefox. Note that you should delete the browser cache and restart the browser to see the applied changes to the dialogs because the browser caches the CSS files.

Another approach is to register the external dialog files of RadEditor and customize only the files that you would like to be modified.


Greetings,
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
AB
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or