Theme not applying to TimePicker

3 posts, 0 answers
  1. Sorin
    Sorin avatar
    7 posts
    Member since:
    Jan 2014

    Posted 10 Dec 2014 Link to this post


    I have a theme set that doesn't apply to some RadTimePickers. The specified theme is applied to DateTimePickers, even though there was no theme override (no styles set or anything like that, neither on the time and datetime pickers nor the grid). 
    Attached you can find a .png with the controls on which the mentioned theme doesn't apply, as well as their xaml code.
  2. Masha
    Masha avatar
    355 posts

    Posted 11 Dec 2014 Link to this post

    Hello Sorin,

    It seems that RadDateTimePicker doesn't get the correct theme in the way it is used - in DataTemplate of GridViewDataColumn.CellTemplate.

    According to the binaries used in the project you can try setting StyleManager (with Xaml binaries) or Style=" {StaticResource RadDateTimePickerStyle} " (with NoXaml binaries and RadDateTimePickerStyle should be defined in the Themes.xaml file) to RadDateTimePicker inside of the DataTemplate.

    I hope this helps.


    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. DevCraft banner
  4. Sorin
    Sorin avatar
    7 posts
    Member since:
    Jan 2014

    Posted 11 Dec 2014 in reply to Masha Link to this post

    Hello again,

    The TimePicker wasn't included in theme.xaml, just as you mentioned. 
    Thank you!

    Best regards,

Back to Top