TimePicker can only get current time.

2 posts, 0 answers
  1. Alex
    Alex avatar
    38 posts
    Member since:
    Nov 2008

    Posted 02 Jan 2009 Link to this post

    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.
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 06 Jan 2009 Link to this post

    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.
Back to Top