cannot shift tab out of RadDatePicker

4 posts, 0 answers
  1. Robert
    Robert avatar
    57 posts
    Member since:
    Sep 2011

    Posted 16 Jan 2015 Link to this post

    We use the RadDatePicker in numerous places.  Sometimes direct and sometimes through a DataTemplate, but the problem is consistent.  We can TAB through the controls (including other telrik controls) but we cannot SHIFT+TAB (reverse tab) through the date controls.  It stops and highlights the date on the control and goes no further.

    we are using 2014.2.729.45 for all controls.

    below are some code samples:
    01.<WrapPanel Grid.Row="3"
    02.                     Grid.Column="1"
    03.                     >
    04.              <telerik:RadDatePicker SelectableDateEnd="{Binding LineItemEndDate}"
    05.                                     SelectableDateStart="{Binding LineItemStartDate}"
    06.                                     SelectedValue="{Binding GivenStartDate}"
    07.                                     Style="{StaticResource TilePropertyDataRadDatePickerStyle}"
    08.                                     />
    09.              <ContentControl IsEnabled="{Binding IsStartDateInvalid}"
    10.                              Style="{StaticResource ErrorAdorner}"
    11.                              ToolTip="{Binding StartDateErrorMsg}"
    12.                              />
    13.          </WrapPanel>

    And here is the Style

    01.<Style x:Key="TilePropertyDataRadDatePickerStyle"
    02.       TargetType="{x:Type telerik:RadDatePicker}"
    03.       >
    04.    <Setter Property="FontFamily" Value="{telerik:Windows8Resource ResourceKey=FontFamily}" />
    05.    <Setter Property="FontSize" Value="{telerik:Windows8Resource ResourceKey=FontSize}" />
    06.    <Setter Property="FontWeight" Value="Normal" />
    07.    <Setter Property="IsTabStop" Value="True" />
    08.    <Setter Property="Height" Value="{StaticResource TilePropertyHeight}" />
    09.    <Setter Property="Foreground" Value="{StaticResource TilePropertyDataBrush}" />
    10.    <Setter Property="Margin" Value="{StaticResource TilePropertyDataMargin}" />
    11.    <Setter Property="VerticalAlignment" Value="Center" />
    12.    <Setter Property="Width" Value="100" />
    13.    <Setter Property="HorizontalAlignment" Value="Left" />

    I saw this used to be an issue, but was corrected back in 2012. not sure if bug was re0introduced or we have some piece of code "off".


  2. Nasko
    Nasko avatar
    698 posts

    Posted 19 Jan 2015 Link to this post

    Hello Robert,

    We are already aware of the described behavior of RadDatePicker and it has been logged in our portal where you could easily track its status on the following link:

    Until the issue is fixed what we could suggest you as a workaround is to set the Keyboard.TabNavigation property to "Continue" as shown bellow:
        <Style TargetType="telerik:RadDatePicker">
            <Setter Property="KeyboardNavigation.TabNavigation" Value="Continue" />

    We hope this will help you and we apologize for any caused inconvenience.


    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. Abdul Moiz
    Abdul Moiz avatar
    2 posts
    Member since:
    May 2015

    Posted 27 May 2015 in reply to Nasko Link to this post


    Please mention in which file above code has to be added.

     Thank you.

  4. Nasko
    Nasko avatar
    698 posts

    Posted 29 May 2015 Link to this post

    Hello Abdul,

    The Style could be declared either in the file where currently the control is placed or inside the App.xaml file. For the concrete scenario it is declared in the "MainWindow.xaml" file where RadDateTimePicker is placed -as there is TargetType set the Style would be applied for all RadDateTimePickers. If you need to apply it to just one DateTimePicker control you need to set Key to the Style and set ti to the Style property of RadDateTimePicker.

    Hopes this helps.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top