Apply Css Only RadTextBox and RadTextArea not for RadDatePicker

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

    Posted 03 Jan 2014 Link to this post

    Hi,
     I want to apply Specific css on RadTexBox and RadTextArea not for RadDatePicker Please help me for that with example.

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

    Posted 04 Jan 2014 Link to this post

    Hi Rahul,

    please have a look into the sample code snippet which works as expected for me.

    ASPX:
    <telerik:RadTextBox ID="RadTextBox1" runat="server" CssClass="input">
    </telerik:RadTextBox>
    <telerik:RadTextBox TextMode="MultiLine" ID="RadTextBox2" runat="server" CssClass="input">
    </telerik:RadTextBox>
    <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
    </telerik:RadDatePicker>

    CSS:
    <style type="text/css">
        .input
        {
            border: 1px solid red !important;
            width: 75px !important;
        }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top