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


      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:



    But eventhough it's not coming. Can you please help me on this.
  2. Teodor
    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,
    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