Rex Chappell
Top achievements
Rank 1
Rex Chappell
asked on 22 Sep 2008, 03:46 PM
Currently I'm catching the OnClientEditing event to produce my own custom window, and I have been unable to find a list of fields that are included in the appointment attached to the eventargs. (IE, the apt declared in the help file's example)
Basically, I'm trying to populate the custom window with the information from the appointment being edited. If anyone can point me at the listing, it would be greatly appreciated.
Basically, I'm trying to populate the custom window with the information from the appointment being edited. If anyone can point me at the listing, it would be greatly appreciated.
5 Answers, 1 is accepted
0
Hello Rex,
The appointment is passed as a property of the eventArgs argument. You can access it like this:
This example demonstrates how to handle the RadScheduler client-side events:
Greetings,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The appointment is passed as a property of the eventArgs argument. You can access it like this:
function onAppointmentEditing(sender, eventArgs) |
{ |
logEvent("Appointment editing: " + eventArgs.get_appointment().get_subject()); |
} |
This example demonstrates how to handle the RadScheduler client-side events:
http://demos.telerik.com/ASPNET/Prometheus/Scheduler/Examples/ClientSideEvents/DefaultCS.aspxLet us know if you have any further questions.
Greetings,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rex Chappell
Top achievements
Rank 1
answered on 23 Sep 2008, 01:53 PM
Thank you for the prompt response, however I'm looking for the fields of the appointment itself. I know about the get_appointment() function, though I don't know how to make use of it.
Thanks again,
-Rex Chappell
Thanks again,
-Rex Chappell
0
Hi Rex,
I am not sure I understand correctly. If by "fields" you mean subject, start time, end time and the like - those properties are accessible by calling get_subject(), get_start(), get_end(), etc. Am I missing something?
Greetings,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I am not sure I understand correctly. If by "fields" you mean subject, start time, end time and the like - those properties are accessible by calling get_subject(), get_start(), get_end(), etc. Am I missing something?
Greetings,
Tsvetomir Tsonev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rex Chappell
Top achievements
Rank 1
answered on 24 Sep 2008, 03:12 PM
Thats exactly what I was looking for. Do you know of a full list of those?
Thanks again,
-Rex Chappell
Thanks again,
-Rex Chappell
0
Hello Rex,
You can refer to the client-side SchedulerAppointment help topic, as well to the other topics in the Client-Side Programing chapter.
Sincerely yours,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can refer to the client-side SchedulerAppointment help topic, as well to the other topics in the Client-Side Programing chapter.
Sincerely yours,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.