Cant get event handlers to work or do anything??? help - DayPilot Forums http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help Replies to question 'Cant get event handlers to work or do anything??? help'. Cant get event handlers to work or do anything??? help Please examplain the following as if i have in my c# code-behind file. The following code does not seem to be used. lets say for example i want to click on an a time with an event in. I would want it to be redirected to a page where they can view/edit that event. If they clicked on a time that was not used, it would redirect them to the NewEvent.aspx page for example.

From what i can see i am using the correct event handlers (as shown below) but nothing wants to work. It is nothing to do with postback. Please assist

Thanks,

Gareth

]]>
http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help Gareth Evans http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help Fri, 13 Apr 2007 20:46:57 +0200
New reply to 'Cant get event handlers to work or do anything??? help' Why has the code been removed. Here it is again. Why does this not work (no error, pahe just refreshes and noting else)

]]>
http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#7eqal5dvc5fwninadiwkjkfelu Gareth Evans http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#7eqal5dvc5fwninadiwkjkfelu Fri, 13 Apr 2007 20:48:51 +0200
New reply to 'Cant get event handlers to work or do anything??? help'
You can also send the code directly to the support e-mail: daypilot @ annpoint.com.]]>
http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#y7btha36rvb6vfdrrqrnakfkdy Dan Letecky http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#y7btha36rvb6vfdrrqrnakfkdy Sat, 14 Apr 2007 00:12:34 +0200
New reply to 'Cant get event handlers to work or do anything??? help' http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#7y7k7x3ry5e7bo3dk7ejbxwbfq bob http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#7y7k7x3ry5e7bo3dk7ejbxwbfq Sun, 11 Nov 2007 22:02:12 +0100 New reply to 'Cant get event handlers to work or do anything??? help'
EventMoveHandling="PostBack"
OnEventMove="DayPilotCalendar1_EventMove"

I guess you are missing the second one. Let me know if this was the problem.

Note that the signature of the handlers is different from the tutorial (even in DayPilot Lite):

protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
{
// ...
}]]>
http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#xbt53dyivfeyzicpv7baefdkfu Dan Letecky http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#xbt53dyivfeyzicpv7baefdkfu Sun, 11 Nov 2007 22:50:07 +0100
New reply to 'Cant get event handlers to work or do anything??? help' That worked.

Thank you!!

]]>
http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#42zafnbwyvchzngoiifdx2wcj4 bob http://forums.daypilot.org/Topic.aspx/28/cant_get_event_handlers_to_work_or_do_anything_help#42zafnbwyvchzngoiifdx2wcj4 Tue, 13 Nov 2007 07:20:12 +0100