Change the dayview date in codebehind

2 posts, 0 answers
  1. Mike
    Mike avatar
    31 posts
    Member since:
    Oct 2007

    Posted 16 Mar 2011 Link to this post

    upon clicking an event from my monthview, I want to change the date of the dayview I have to that day. I have am trying to pass in the startdate from the database (i.e. dt.Rows[0]["startDate"].ToString()) to the DataStartField. Is there a different method to the madness? SelectedDate but that did not work either.

    Thanks,
    Mike

     

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 18 Mar 2011 Link to this post

    Hello Mike,

    You can handle OnClientAppointmentClick and use AjaxRequest of RadAjaxManager to set the SelectedDate and SelectedView of RadScheduler on the server. Here is a help topic that shows the approach - http://www.telerik.com/help/aspnet-ajax/ajax-add-ajaxrequest-to-client-event.html


    All the best,
    Peter
    the Telerik team
Back to Top