This is a migrated thread and some comments may be shown as answers.

Multiple DateTimePickers to get a timespan

1 Answer 89 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Alyssa
Top achievements
Rank 1
Alyssa asked on 11 Jan 2018, 03:19 PM

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

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 15 Jan 2018, 02:34 PM
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.

Regards,
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.
Tags
DateTimePicker
Asked by
Alyssa
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or