RadDateTimePicker should not be focusable when it is in readonly

4 posts, 0 answers
  1. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 06 Oct 2014 Link to this post

    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. 
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 07 Oct 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 08 Oct 2014 in reply to Yana Link to this post

    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.
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Oct 2014 Link to this post

    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.

     
Back to Top