Previous/Next Year Arrows Not Clickable

2 posts, 0 answers
  1. Mathias
    Mathias avatar
    1 posts
    Member since:
    Jan 2013

    Posted 02 Apr 2013 Link to this post

    Hello,

    I'm using RadDateTimePicker with the following xaml:

    <telerik:RadDateTimePicker
    Loaded="dpFrom_Loaded"
    Margin="20,0,0,20"
    x:Name="dpTo"
    DisplayFormat="Short"
    DateSelectionMode="Month"
    InputMode="DatePicker"
    ErrorTooltipContent="Input is not in a valid date format!"
    HorizontalAlignment="Left"
    FontFamily="Arial"
    FontSize="20"
    HorizontalContentAlignment="Right"
    SelectedValue="{Binding ElementName=lbProjects, Path=SelectedItem.YearTo, Mode=TwoWay, ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True}"
    />

    and Custom "DisplayFormat":
    private void dpFrom_Loaded(object sender, RoutedEventArgs e)
    {
        (sender as RadDateTimePicker).Culture = new System.Globalization.CultureInfo("en-US")
        {
              DateTimeFormat = new System.Globalization.DateTimeFormatInfo
              {
                   ShortDatePattern = "MM/yyyy"
              }
        };
    }

    On clicking the Picking dialogue Previous and Next Year buttons are available but don't seem do anything on clicking them.
    See screenshot below.


    Also, the Property 
    HorizontalContentAlignment="Right"
    doesn't affect the style of the DateTimePicker box.
    I actually want the characters inside the TextBox-like field to be aligned to the right edge of the box.


    Thanks in advance,

    Mathias
  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 05 Apr 2013 Link to this post

    Hello Mathias,

    We are aware of the described issue and I am happy to say that it is fixed. The fix is available in the new Q1 2013 SP, which you can download from here.
    It would be great if you can give it a try and let us know if everything works as expected.

    Greetings,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top