Hi. I tried to change the Font Family / Font Names of items in RadComboBox, its not working for me. I applied css too.
Can any one suggest me, how to implement & achieve it.
Thanks in advance.
<style type="text/css">.RadComboBox_Vista .rcbInputCell .rcbInput, .RadComboBoxDropDown_Vista { font-family: Verdana !important; } </style><telerik:RadComboBox ID="ddlCultureCode" runat="server" OnSelectedIndexChanged="ddlCultureCode_SelectedIndexChanged" AutoPostBack="true" EnableViewState="true"> </telerik:RadComboBox>Can any one suggest me, how to implement & achieve it.
Thanks in advance.
5 Answers, 1 is accepted
0
Accepted
Shinu
Top achievements
Rank 2
answered on 14 Aug 2013, 08:50 AM
Hi Vishnu,
Please have a look at the following code snippet that I have tried.
ASPX:
CSS:
Suppose you want to style the selected item, you can try the following CSS.
CSS:
Thanks,
Shinu.
Please have a look at the following code snippet that I have tried.
ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="true" EnableViewState="true"> <Items> <telerik:RadComboBoxItem runat="server" Text="Item1" /> <telerik:RadComboBoxItem runat="server" Text="Item2" /> <telerik:RadComboBoxItem runat="server" Text="Item3" /> <telerik:RadComboBoxItem runat="server" Text="Item4" /> <telerik:RadComboBoxItem runat="server" Text="Item5" /> </Items></telerik:RadComboBox>CSS:
<style type="text/css"> .rcbItem { font-family: Verdana !important; color: Green !important; }</style>Suppose you want to style the selected item, you can try the following CSS.
CSS:
.rcbInput{ color: Red !important; font-weight: bold !important;}Thanks,
Shinu.
0
Vishnu
Top achievements
Rank 1
answered on 14 Aug 2013, 11:32 AM
Yes, its working fine.. Thanks a lot.... :)
0
Merin
Top achievements
Rank 1
answered on 20 Aug 2013, 08:36 AM
Hi shinu
In the css you provided, the default style is retained on hovering items. How to avoid it?
In the css you provided, the default style is retained on hovering items. How to avoid it?
0
Accepted
Shinu
Top achievements
Rank 2
answered on 20 Aug 2013, 08:56 AM
Hi Merin,
Try the following CSS along with the CSS classes provided in my previous post.
CSS:
Thanks,
Shinu.
Try the following CSS along with the CSS classes provided in my previous post.
CSS:
.rcbHovered{ font-family: Verdana !important; color: Green !important;}Thanks,
Shinu.
0
Merin
Top achievements
Rank 1
answered on 23 Aug 2013, 08:38 AM
Hi shinu
I have a radcombobox with load on demand. Can I programatically initiate a load on demand request on click of a radbutton?
I have a radcombobox with load on demand. Can I programatically initiate a load on demand request on click of a radbutton?