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.