Can you give me an example of how to setup the scheduler control to redirect to a specific controller action when an appointment is clicked. I need to pass the appointment information to the controller action.
P.S. Some detailed user guide information on the scheduler would really help. Just sayin...
SKSarath Kumar P K Syncfusion Team March 18, 2015 12:07 PM UTC
Thanks for using Syncfusion products.
We have prepared a sample based on your requirement (“How to setup the scheduler control to redirect to a specific controller action when an appointment is clicked”) and it can be downloaded from the following location.
In the above sample, we have used an ajax post within the “AppointmentClick” client side method and it will redirect to the controller action. And in the action method (controller page) we can get the appointment details in the argument (Ex: data).
.CurrentDate(newDateTime(2015, 3, 3))
.ScheduleClientSideEvents(eve => eve.Create("onCreate").AppointmentClick("onAppointmentClick")) //Need to mention the appointmentClick client side method