DayPilot Knowledge Base

AJAX Calendar/Scheduling Controls
DayPilot Pro (AJAX Calendar Control)
» DayPilot ASP.NET Calendar
DayPilot Pro (AJAX Monthly Calendar Control)
» DayPilot ASP.NET Monthly Calendar
DayPilot Pro (AJAX Scheduler Control)
» DayPilot ASP.NET Scheduler
DayPilot » Knowledge Base » How to redirect the user to another page after clicking a calendar event

How to redirect the user to another page after clicking a calendar event

Last revision: May 15, 2012

In order to redirect the user to another page after clicking a calendar event you need to use a JavaScript EventClick handler:

EventClickHandling="JavaScript"
EventClickJavaScript="document.location.href='somewhere.aspx?id='+e.value()"

The e variable holds a DayPilot.Event object.

This works for CalendarMonth, and Scheduler controls.

Related

How to show a calendar event Bubble using JavaScript
How to show event-specific context menu
How to show a confirmation dialog before deleting an event (Calendar)
How to open an event edit dialog from a context menu (Calendar)