This is a migrated thread and some comments may be shown as answers.

[Solved] AppointmentClick event (server-side) not firing

1 Answer 213 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Elsio Cardoso
Top achievements
Rank 1
Elsio Cardoso asked on 25 Oct 2007, 05:18 PM
Hi,

It is possible to select an appointment when we click on it? I am trying to use the AppointmentClick event but it only fires when the Scheduler is in ReadOnly mode.
If the Scheduler is not in readonly mode the AppointmentClick event fires when i do double click, but this will open an edit form or a radwindow as i wish.

How can i solve this problem?

Thanks in advance



1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 29 Oct 2007, 09:32 AM
Hi Elsio Cardoso,

Unfortunately it is not possible to implement this - to fire a server-side event the browser needs to postback, but if the first click postbacks the second won't fire.

A possible approach is to use the client-side event, OnClientAppointmentClick, as it always fires on a single click. You can see an example of using client-side events at http://www.telerik.com/demos/aspnet/Prometheus/Scheduler/Examples/ClientSideEvents/DefaultCS.aspx

Best wishes,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Elsio Cardoso
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or