search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Server side click won't fire

Asked by Emil
6 years ago.

Hi,
I'm trying to implement server side click for Lite version using this reference https://www.daypilot.org/server-side-event-handling/, but the click event won't fire. Also tried with Debug mode using step by step code, no result.
Any help appreciated.
Thanks.

Comment posted by Anonymous
6 years ago.

I have the same issue.

Comment posted by Mat
5 years ago.

I'm also having the same issue.

This is how I have the DayPilot calendar set up.
<DayPilot:DayPilotCalendar
id="DayPilotCalendar1"
runat="server"
EventClickHandling="PostBack"
OnEventClick="DayPilotCalendar1_EventClick" />

And here is the EvenClick function.
protected void DayPilotCalendar1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e)
{
testClick.Text = "Event ID: " + e.Text;
}

But it never seems to call it and my label stays the same.

I've also tried setting the EventClickHandling to JavaScript, just to see if the default alert('{0}'); works, but it is also not displaying.

Any help would be greatly appreciated.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.