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

ReadOnly Property

5 Answers 98 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Dandan
Top achievements
Rank 1
Dandan asked on 04 Jun 2009, 12:33 PM
Hello,

I use RadTimePicker and set its "IsReadOnly" property to be "True" and "IsEnabled" property to be "False". I expect to see the time text (in the text box) in grey, like readOnly , but it doesn't....

Can I change the text color to be grey when the the control is readOnly?

Thanks!

5 Answers, 1 is accepted

Sort by
0
Accepted
Boyan
Telerik team
answered on 08 Jun 2009, 02:54 PM
Hello Dandan,

Currently there are certain issues with the look of the disabled and IsReadOnly states. We will do our best to fix all themes for Q2 and get the proper look for the Disabled and ReadOnly states.

Currently you can work around this by modifying the template for the Disabled state. You can do it by editing the RadTimepicker template as shown in the help.

Hope this helps.

All the best,
Boyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dandan
Top achievements
Rank 1
answered on 09 Jun 2009, 08:18 AM
THANKS!
0
Tim
Top achievements
Rank 1
answered on 21 Jul 2009, 11:18 PM
I assume the same holds true and is not fixed for Q2-2009 for IsEnabled=false (I did not change readonly)?  I.e., this is still broken and a known bug?

I.e., when the CheckboxBinder is unchecked, the RadDatePicker goes gray and inactive while the RadTimePicker does not go gray - although it is disabled.

<T:RadDatePicker x:Name="StartDate" Grid.Row="1" Grid.Column="1"  
  IsEnabled="{Binding Path=IsChecked, Mode=TwoWay, Source={StaticResource CheckboxBinder}}"/> 
<T:RadTimePicker x:Name="SynchronizationStartTime" Grid.Row="2" Grid.Column="1" 
  IsEnabled="{Binding Path=IsChecked, Mode=TwoWay, Source={StaticResource CheckboxBinder}}"/> 




Tim

0
Nikolay
Telerik team
answered on 23 Jul 2009, 08:48 AM
Hi Tim,

Thanks for your report.

For the upcoming SP1 release we will add equal disabled states for the Date and Time pickers. The SP1 is due next month. I hope that this timeframe is acceptable for you.

Greetings,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Tim
Top achievements
Rank 1
answered on 23 Jul 2009, 12:56 PM
August will be fine.  Thank you for your reply.

Tim

Tags
TimePicker
Asked by
Dandan
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Dandan
Top achievements
Rank 1
Tim
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or