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

RadComboBox Skin Artifacts

2 Answers 42 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 09 Jan 2014, 06:54 PM
when changing skins my radcombobox's are drawn with a line under them??  (see attached image)

metro and metro touch skins are rendered properly but skins like outlook, sunset have the extra line.

???

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Jan 2014, 05:13 AM
Hi Mike,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the following sample code snippet which works fine at my end.

ASPX:
<asp:Label ID="Label1" runat="server" Text="Select Skin">
</asp:Label>
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="--Select--" AutoPostBack="true"
    OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged">
    <Items>
        <telerik:RadComboBoxItem Text="Sunset" />
        <telerik:RadComboBoxItem Text="Outlook" />
        <telerik:RadComboBoxItem Text="Metro" />
        <telerik:RadComboBoxItem Text="MetroTouch" />
    </Items>
</telerik:RadComboBox>
<telerik:RadComboBox ID="RadComboBox2" runat="server" Skin="Default">
    <Items>
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item2" />
        <telerik:RadComboBoxItem Text="Item3" />
        <telerik:RadComboBoxItem Text="Item4" />
    </Items>
</telerik:RadComboBox>

C#:
protected void RadComboBox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
{
    RadComboBox2.Skin = e.Text;
}

Please provide your full code with CSS if it doesn't help.
Thanks,
Shinu.
0
Ivan Zhekov
Telerik team
answered on 10 Jan 2014, 04:01 PM
Hello, Mike.

The distortions you are seeing are caused by one of three reasons:

1) You have zoomed the page
FIX: reset zoom level

2) You are using an older versions of the controls with RadFormDecorator on the page (that's for some time now)
FIX: upgrade to a newer version

3) You have global styles applied for the input elements or more specifically input type text elements which break the dimensions of the combobox.
FIX: find the styles in question and tweak them so they don't apply to RadComboBox

In all cases, it's better to use the newest possible version.

Regards,
Ivan Zhekov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ComboBox
Asked by
Mike
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ivan Zhekov
Telerik team
Share this question
or