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

Change font style of date picker on Enabled =false condition

1 Answer 258 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jignesh
Top achievements
Rank 1
Jignesh asked on 23 Apr 2010, 05:25 AM
Hello Friends,


 In my page i used datepicker control,in one condition i applied Enabled=false on that date picker.

But when datepicker is Enabled=false than i need to apply style on font means i need to do font bold and change font color.

I had tried it but when Enabled=false than font style are not working.

Pls help me.

Thanks & Regards
Jignesh Patel

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Apr 2010, 01:25 PM
Hello Jignesh,

IE does not allow changing text color of disabled elements.

You can set a bold font style like this:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" Enabled="false" SelectedDate="2010/01/02">
    <DateInput EnabledStyle-Font-Bold="true" />
</telerik:RadDatePicker>

Please refer to the relevant documentation:

http://www.telerik.com/help/aspnet-ajax/input_appearancestyles.html

(if you want to set styles with CSS)
http://www.telerik.com/help/aspnet-ajax/input_appearancecssselectors.html


Regards,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Calendar
Asked by
Jignesh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or