Change font size for combo box Databount items

7 posts, 0 answers
  1. A K
    A K avatar
    49 posts
    Member since:
    Apr 2010

    Posted 18 Jun 2010 Link to this post

    I would like to change font size of a combobox items  only on one page, other pages I would like to apply default ( vista – skin) settings, How do I do this?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Jun 2010 Link to this post

    Hello,

    Add the following css on the page to change the font size to required.

    css:
     
        <style type="text/css"
            .RadComboBox_Vista .rcbInputCell .rcbInput, .RadComboBoxDropDown_Vista 
            { 
                font15px arial,verdana,sans-serif !important; 
            } 
        </style> 


    -Shinu.
  3. A K
    A K avatar
    49 posts
    Member since:
    Apr 2010

    Posted 18 Jun 2010 Link to this post

    Thanks it worked!!
  4. A K
    A K avatar
    49 posts
    Member since:
    Apr 2010

    Posted 18 Jun 2010 Link to this post

    There are 3 comboboxes on the page, it changed to all of them, how do I apply this custom font settings to only one combobox on a page?

    Thanks
  5. Yana
    Admin
    Yana avatar
    4795 posts

    Posted 22 Jun 2010 Link to this post

    Hi A K,

    I suggest you set CssClass property of the needed combobox, for example, to "biggerFont" and modify the class selector like this:

    .biggerFont .rcbInputCell .rcbInput, .biggerFont
    {
         font: 15px arial,verdana,sans-serif !important;
    }


    All the best,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. bala
    bala avatar
    8 posts
    Member since:
    Sep 2012

    Posted 07 Jan 2011 Link to this post

    Hi,

    I tried to copy this setting to my common style sheet so that I can change the font-size of all rad combox in the application but it did not work.

    .RadComboBox_Web20 .rcbInputCell .rcbInput, .RadComboBoxDropDown_Web20
            {
                font: 8pt arial !important;
            }

    i copied to my style.css. if i copy this code to the aspx page it works fine.
    pl help.
    thanks
  7. Yana
    Admin
    Yana avatar
    4795 posts

    Posted 13 Jan 2011 Link to this post

    Hello,

    Please send us a live url so we to be able to observe this issue. Thanks

    Regards,
    Yana
    the Telerik team
    Browse the vast support resources we have to jump start 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.
Back to Top