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

TimePicker can only get current time.

1 Answer 85 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 02 Jan 2009, 10:24 AM
Hi,

I am using TimePicker control. I am using same screen for insert and edit record. For new add record, i can get the correct time. But for edit record, i assign the time(hh:mm) vale from db to TimePicker control and then change the value. But I still get the current system time. If i am not assign the value, i got the  correct time.

DateTime

? dt = Convert.ToDateTime(rtpStartTime.SelectedDate);

 



Please let me know how do i set the option.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 06 Jan 2009, 12:32 PM
Hello Alex,

Please modify the attached example to behave as in your scenario. In this way we will be able to provide an appropriate answer.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Alex
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or