Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Editor > RadEditor Setting Font

Not answered RadEditor Setting Font

Feed from this thread
  • simhadri raju saripalli avatar

    Posted on Dec 15, 2009 (permalink)

    How to Set the Default Font to the Rad Editor

    By default  it is taking the Default  System font(Times New Roman) in my system
    How to add The Fonts List to the RadEditor
    Please help me to find the Solution

    Reply

  • Posted on Dec 15, 2009 (permalink)

    Hi Simhadri Raju,

    Here is the client-side code for setting FontFamily of RadEditor on loading the editor.

    aspx:
     
    <telerik:RadEditor ID="RadEditor1" OnClientLoad="OnClientLoad" runat="server">  
    </telerik:RadEditor>  

    javascript:
     
    <script type="text/javascript"
    function OnClientLoad(editor, args) 
        var style = editor.get_contentArea().style; 
        style.fontFamily = 'Arial';  
    </script> 

    -Shinu.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Rumen Rumen admin's avatar

    Posted on Dec 16, 2009 (permalink)

    Hi Simhadri,

    The following help article could be of help as well: Default Font for Editable Content.

     


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Editor > RadEditor Setting Font
Related resources for "RadEditor Setting Font"

ASP.NET Editor Features  |  Documentation  |  Demos  |  Step-by-step Tutorial  ]