Telerik Schedule DateTimePicker

2 posts, 0 answers
  1. satish
    satish avatar
    52 posts
    Member since:
    Apr 2009

    Posted 09 Sep 2009 Link to this post

    Hi,

      Can anybody please tell me how to set the time for telerikScheduler:DateTimePicker control from codebehind. This is an urgent requirement for me.

    I am setting like this:

     

    dateTimePicker.TimePickerStartTime


    But eventhough it's not coming. Can you please help me on this.
    Regards
    Satish
  2. Teodor
    Admin
    Teodor avatar
    501 posts

    Posted 14 Sep 2009 Link to this post

    Hi satish,

    In this example you will see the telerikScheduler:DateTimePicker controls' dates and times set like:

    StartDateTimePicker.SelectedDateTime = Scheduler.SelectedTimeSlot.Start; 
    EndDateTimePicker.SelectedDateTime = Scheduler.SelectedTimeSlot.End; 

    ... so all you need is to set the SelectedDateTime property to a desire DateTime value. 

    Hopes this explains the matter.

    Kind regards,
    Teodor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top