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

Error while executing Event click functions

Asked by Vanditha
11 years ago.

Hi ,
I am unable to execute EventClick & free time click events. I recieve the below error message

"No overload for 'DayPilotCalendar1_EventClick' matches delegate 'DayPilot.Web.Ui.EventClickDelegate'"

My Source code for .aspx page is
<form id="form1" runat="server">
<DayPilot:DayPilotCalendar ID="DayPilotCalendar1" DataStartField="EVENTDATE" OnEventClick="DayPilotCalendar1_EventClick" OnFreeTimeClick="DayPilotCalendar1_FreeTimeClick" ShowHours= "true" DataValueField="EVENTID" DataTextField="EVENTNAME" DataEndField="EVENTEND" runat="server" />
<asp:Label ID="Label1" runat="server"></asp:Label>

Code-behind :

public void DayPilotCalendar1_FreeTimeClick(System.DateTime start)
Label1.Text = "Selected time: " + start.ToString("s");

public void DayPilotCalendar1_EventClick(string pk)
Label1.Text = "Selected event: " + pk;

Kindly advice how to resolve it. Thanks

Comment posted by Vanditha
11 years ago.

Can somebody help me to resolve it . Its quite urgent ,I need to test DayPilot Lite before purchasing the pro edition .

Answer posted by Vanditha
11 years ago.

I had resolved this issue. Thanks

Comment posted by Anonymous
11 years ago.

Gee. Thanks for letting us know how.

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