Apply Css on RadComboBox

3 posts, 0 answers
  1. Rahul
    Rahul avatar
    39 posts
    Member since:
    Jan 2014

    Posted 03 Jan 2014 Link to this post

    Hi,

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

    Kind Regards,
    Rahul
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rahul
    Rahul avatar
    39 posts
    Member since:
    Jan 2014

    Posted 04 Jan 2014 Link to this post

     It Works.
    Thanks Princy
Back to Top