This is a migrated thread and some comments may be shown as answers.

Change font size for combo box Databount items

6 Answers 1159 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
A K
Top achievements
Rank 1
A K asked on 18 Jun 2010, 12:59 PM

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?

6 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Jun 2010, 01:37 PM
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.
0
A K
Top achievements
Rank 1
answered on 18 Jun 2010, 02:31 PM
Thanks it worked!!
0
A K
Top achievements
Rank 1
answered on 18 Jun 2010, 07:56 PM
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
0
Yana
Telerik team
answered on 22 Jun 2010, 02:59 PM
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
0
bala
Top achievements
Rank 1
answered on 07 Jan 2011, 06:14 PM
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
0
Yana
Telerik team
answered on 13 Jan 2011, 11:16 AM
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.
Tags
ComboBox
Asked by
A K
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
A K
Top achievements
Rank 1
Yana
Telerik team
bala
Top achievements
Rank 1
Share this question
or