Hyperlink manager dialog customization

2 posts, 0 answers
  1. AB
    AB avatar
    26 posts
    Member since:
    Jan 2010

    Posted 11 Jun 2012 Link to this post

    Hello,
    how can I set the font for the text in the red frames and the border color in the green frames?
    Many thanks
    AB
  2. Rumen
    Admin
    Rumen avatar
    14417 posts

    Posted 11 Jun 2012 Link to this post

    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.


    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.
Back to Top