Multiple DateTimePickers to get a timespan

2 posts, 0 answers
  1. Alyssa
    Alyssa avatar
    1 posts
    Member since:
    Jan 2018

    Posted 11 Jan 2018 Link to this post

    Hi -

    My goal is to use two raddatetimepickers in a WPF application to get a start date/time and an end date/time user input. I haven't found a way to get two of these components on the same page - do I need to modify the culture or create them dynamically? I've looked into using other identifiers. 


    Any guidance would be appreciated



  2. Dilyan Traykov
    Dilyan Traykov avatar
    1258 posts

    Posted 15 Jan 2018 Link to this post

    Hello Alyssa,

    Can you please share some code on your current setup so that I can get a better understanding of your scenario and requirements?

    For your convenience, I've attached a small sample project which demonstrates how to define two RadDateTimePicker controls in XAML and bind their SelectedValue property to properties in the underlying viewmodel.

    Please have a look and let me know if this is something similar to the setup you have in mind? If that is not the case, please share some more details on the exact result you wish to achieve and I will gladly assist you further.

    Dilyan Traykov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top