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

RadDateTimePicker should not be focusable when it is in readonly

3 Answers 66 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
raj
Top achievements
Rank 1
raj asked on 07 Oct 2014, 04:34 AM
Hi There,

I have a requirement like when RadDateTimePicker control is in read only then its tab stop should be true. I wanted to set this in Style, can you please help me how i can do this?

Thanks in advance,
Raj. 

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 07 Oct 2014, 10:49 AM
Hi Raj,

You should extract the template of the DateTimePicker following our  Editing Control Templates topic and set IsTabStop property of the RadWatermarkTextBox control with Name="PART_DateTimeInput" containing in the template.

Hope this will help.

Regards,
Yana
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
raj
Top achievements
Rank 1
answered on 09 Oct 2014, 03:48 AM
Hi Yana,

Thank you for reply,

I want to set the IsTabStop only when the WatermarkTextBox is set to readonly, is it possible?

Regards,
Srinivas.
0
Yana
Telerik team
answered on 09 Oct 2014, 07:40 AM
Hi Rai,

Yes, you could implement such logic with a binding and a value converter, for example.

Regards,
Yana
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DatePicker
Asked by
raj
Top achievements
Rank 1
Answers by
Yana
Telerik team
raj
Top achievements
Rank 1
Share this question
or