Bug: Font-Szie cannot be set with Property

3 posts, 0 answers
  1. Ricky
    Ricky avatar
    247 posts
    Member since:
    Jun 2007

    Posted 24 Dec 2007 Link to this post

    Hi, I find setting font-size via RadCombo.Font.Size property is not reflected on runtime.

    If i am wrong, please told me.

    Ricky.
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 27 Dec 2007 Link to this post

    Hello Ricky,

    This property will be applied only if RadComboBox does not use skins or Skin property is set to empty string.

    I suggest you modify the font -size using the following css styles:
    <style type=text/css>
    .RadComboBox_SkinName,  
    .RadComboBox_SkinName input,  
    .RadComboBoxDropDown_SkinName  
    {  
        font:12px arial,verdana,sans-serif;  
        color:#000;  
        text-alignleft;  

    </style> 
     

    You can just put this piece of code in the head tag of your page.

    Hope this helps.

    Regards,
    Rosi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ricky
    Ricky avatar
    247 posts
    Member since:
    Jun 2007

    Posted 27 Dec 2007 Link to this post

    Okay, but if this is indeed a constraint, I suggest you should manage to let developers not to set this proprty, because it will confuse us where the problems are?

    Regards,
    Ricky.
Back to Top