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

Apply Css on RadComboBox

2 Answers 860 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 04 Jan 2014, 05:43 AM
Hi,

How Apply the css on RadComboBox  like as Height,width, Help me give a examples.

Kind Regards,
Rahul

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Jan 2014, 06:05 AM
Hi Rahul,

Please try the following code snippet to set the CSS for a RadComboBox.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" CssClass="Combo">
    <Items>
        <telerik:RadComboBoxItem Text="Item1" runat="server" />
        <telerik:RadComboBoxItem Text="Item2" runat="server" />
        <telerik:RadComboBoxItem Text="Item3" runat="server" />
        <telerik:RadComboBoxItem Text="Item4" runat="server" />
    </Items>
</telerik:RadComboBox>

CSS:
<style type="text/css">
    .Combo
    {
        height: 25px !important;
        width: 50px !important;
    }
</style>

Thanks,
Princy.
0
Rahul
Top achievements
Rank 1
answered on 04 Jan 2014, 06:28 AM
 It Works.
Thanks Princy
Tags
ComboBox
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rahul
Top achievements
Rank 1
Share this question
or