We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Redirect to controller action when appointment clicked

Thread ID:





118535 Mar 17,2015 07:17 PM UTC Mar 18,2015 12:07 PM UTC ASP.NET MVC 1
Tags: Schedule
Randall Martin
Asked On March 17, 2015 07:17 PM UTC

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...

Sarath Kumar P K [Syncfusion]
Replied On March 18, 2015 12:07 PM UTC

Hi Randall,

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(new DateTime(2015, 3, 3))

.ScheduleClientSideEvents(eve => eve.Create("onCreate").AppointmentClick("onAppointmentClick")) //Need to mention the appointmentClick client side method


.AppointmentSettings(fields => fields.Datasource(ds => ds.URL("Home/GetData").Adaptor("UrlAdaptor"))











function onAppointmentClick(args) {

//ajax post to call the controller action


type: "POST",

dataType: 'json',

data: JSON.stringify(args.appointment),

contentType: 'application/json; charset=utf-8',

url: "Home/appointmentClick"








public JsonResult appointmentClick(Appointment data) {

return Json(data);



In controller action we can get the data which is passed from the appointmentClick client side method.

Please refer the below link for detailed user guide information about Schedule.


Please let us know whether the provided sample helps you and need any further assistance on this.


Sarath Kumar P K


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon