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

Apply Css Only RadTextBox and RadTextArea not for RadDatePicker

1 Answer 71 Views
Input
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:40 AM
Hi,
 I want to apply Specific css on RadTexBox and RadTextArea not for RadDatePicker Please help me for that with example.

Kind Regards,
Rahul

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Jan 2014, 07:25 AM
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.
Tags
Input
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or