Set Default font name in moss RadEditor

3 posts, 0 answers
  1. Manoj
    Manoj avatar
    1 posts
    Member since:
    Nov 2010

    Posted 25 Nov 2010 Link to this post

    Hi Telerik,
    I need to set the default font name as "Arial" in the Font dropdown.

    I have seen some article in telerik knowledge article as given below
    "The contents of this collection will override the default fonts available in the Font dropdown. In order to extend the default set you should add the default font names and the new font names."
    private void Page_Load(object sender, EventArgs e)
    But in our case the control has been developed as customfield and written code as



    override void OnLoad(EventArgs e)




    if (base.ControlMode != SPControlMode.Display)







    I need only arial as a font in our content editor, so i have override the fontnames and add only one font as "Arial". The code is compiled without any errors. But font is not appearing to the font dropdown list in content editor. Please help on this

    Thanks in advance


  2. Stanimir
    Stanimir avatar
    1653 posts

    Posted 29 Nov 2010 Link to this post

    Hello Manoj,

    Review the following two help articles:

    Here is an example of what you need to do.
    1. Add CssEditor.css file in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder and define the following style in it:
        font-family: Arial;

    2. Modify the ToolsFile.xml or ListToolsFile (for lists, wiki, blog), which are located in the mentioned above folder. Add the following elements just before the ending </root> element:
        <item name="Arial" />

    Kind regards,
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Mr. Rajesh
    Mr. Rajesh  avatar
    1 posts
    Member since:
    Sep 2010

    Posted 03 Dec 2010 Link to this post

    Hi Stanimir,

    It is working now, Thanks
Back to Top