This question is locked. New answers and comments are not allowed.
Hello,
I have C# application that uses the RadDatePicker and the RadTimePicker. Here is the XAML I will be referencing:
I need to programmatically set the selected TIME of "myTimePicker". In an attempt to do this, I am using the following:
Oddly, the correct date appears in the RadDatePicker, but the time is not displayed in the RadTimePicker. How do I programmatically set the time displayed in the RadTimePicker?
Thank you
I have C# application that uses the RadDatePicker and the RadTimePicker. Here is the XAML I will be referencing:
<
telerik:RadDatePicker
x:Name
=
"myDatePicker"
DateTimeWatermarkContent
=
"MM/DD/YY"
/>
<
telerik:RadTimePicker
x:Name
=
"myTimePicker"
DateTimeWatermarkContent
=
"HH:MM:SS"
StartTime
=
"0:0:0"
EndTime
=
"23:0:0"
Culture
=
"en-US"
/>
I need to programmatically set the selected TIME of "myTimePicker". In an attempt to do this, I am using the following:
myDatePicker.SelectedDate = MyDateTimeProp.Date;
myTimePicker.SelectedTime = MyDateTimeProp.TimeOfDay;
Oddly, the correct date appears in the RadDatePicker, but the time is not displayed in the RadTimePicker. How do I programmatically set the time displayed in the RadTimePicker?
Thank you