Please can you tell me the statements for clicking on a free time bit and an event
For example the below code will redirect the user to a different page if an event history exists
protectedvoid DayPilotCalendar1_EventClick(object sender, EventArgs e)
{
Response.Redirect("ViewEvents.aspx");
}
What would be the same eventhandler if no event existing so I can redirect them to a NewEvevnts.aspx page. I have written part of it below but please fill the bit in with the question mark
protectedvoid DayPilotCalendar1_??????????????????????(object sender, EventArgs e)
{
Response.Redirect(NewEvents.aspx");
}
Thanks
Gareth