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

RadComboBox styling

1 Answer 363 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 24 Jan 2011, 12:13 PM
When displaying, the RadComboBox is selecting the wrong font.

Configuration is:

<telerik:RadComboBox ID="radcomboboxRealEstateManager" runat="server" CssClass="mainFormInput" Skin="Telerik" Width="220px" DataTextField="Name"  DataValueField="UserID" Font-Names="Calibri, Arial, sans-serif">

In Firefox it displays per Formatting Issue image attached. In IE8 it falls back to the telerik style (see fontstyle inheritence image attached).

However, as can be seen in the fontstyle inheritance image, for some reason the RadComboBox control is rendering the Font-Names (to Styles="font-family") without the commas and spaces (which results in the odd output).

The version of the controls being used is 2010.2.713.35. I'd guess I'm likely to have to upgrade the controls (which is less than ideal as typically this causes all sorts of problems).

D

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 27 Jan 2011, 06:23 PM
Hello Praveen,

Let me suggest you change the font at the RadComboBox by overriding the css style applied at the control input:

<style type="text/css">
div.RadComboBox .rcbInput
{
     font-family:Calibri, Arial, Sans-Serif;
}
</style>

Greetings,
Kalina
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
Praveen
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or