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

Change the dayview date in codebehind

1 Answer 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 17 Mar 2011, 12:04 AM
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

 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Mar 2011, 03:45 PM
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
Tags
Scheduler
Asked by
Mike
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or