Hello,
I am trying to set the time of a RadTimePicker from CodeBehind. No matter how I do it a date always shows in the TimePicker. When I click into the control the time I set is there; hwoever, it goes back to date when it loses focus.
If I set the Time with the RadTimePicker, it shows the time, even after losing focus.
It is very confusing why a time picker would even contain selected date properties as it is a time.
I have tried this a suggested in the forums but id doesn't work for me either.
Any suggestions?
Thanks,
John S.
I am trying to set the time of a RadTimePicker from CodeBehind. No matter how I do it a date always shows in the TimePicker. When I click into the control the time I set is there; hwoever, it goes back to date when it loses focus.
If I set the Time with the RadTimePicker, it shows the time, even after losing focus.
It is very confusing why a time picker would even contain selected date properties as it is a time.
I have tried this a suggested in the forums but id doesn't work for me either.
Dim
oTime
As
DateTime = Convert.ToDateTime(m_TimeValue)
m_TimePicker.SelectedTime = oTime.TimeOfDay
Any suggestions?
Thanks,
John S.