ComboBox fontsize=medium shows shadow

2 posts, 0 answers
  1. Wenting
    Wenting avatar
    7 posts
    Member since:
    Feb 2012

    Posted 18 Jun 2012 Link to this post

    hi
    my code is very simple, I just change font size in combo box and it shows very weird line or shadow under combobox as in the screen shot. my telerik for ajax version is 2012.1.215.40

    here is my code
    <telerik:RadComboBox ID="YearComboBox" Runat="server"  Filter="StartsWith" Font-Size="Medium"
     Width="100px"  Height="150px"   DataTextField="Text" DataValueField="Value"
            DataSourceID="XmlDataSource1" >
    </telerik:RadComboBox>
        <asp:XmlDataSource ID="XmlDataSource1" runat="server"
            DataFile="~/Common/year.xml"></asp:XmlDataSource>

    This appears in both Chrome and IE9

    Many Thanks!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Jun 2012 Link to this post

    Hi,

    Try overriding the default css as follows.

    CSS:
    <style type="text/css">
        .RadComboBox *
        {
          height: 19px !important;
        }
    </style>

    Hope this helps.

    Thanks,
    Princy.
Back to Top