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

Currently Selected Appointment ???

3 Answers 133 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Art
Top achievements
Rank 1
Art asked on 08 Mar 2011, 12:55 AM
I'm in the RadScheduker.SelectionChanged event, how do I find information about the currently selected appointment?  Or, I'm in the AppointmentDeleting event, same question??

I have a custon appointment with an Appointment ID. Can I get to it?

Thanks

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Mar 2011, 07:57 AM
Hello Art,

Thank you for writing.

In both AppointmentDeleting and AppointmentSelecting events you can access the currently deleted/selected appointment from the event arguments:
e.Appointment

I hope this helps.

Best wishes,
Stefan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Art
Top achievements
Rank 1
answered on 10 Mar 2011, 04:01 PM
Not really. I have created the simplist of forms, with a radScheduler. I also created a Custom Appointment class (and a customfactory and editdialogform) which has a few extra properties, such as Appt_ID (because I can't get over that guid thing you do with the UniqueID). I fill a datatable, then loop through it, adding each appointment as a CustomApointment into the radScheduler (no recurring appointments). How do I get that Appt_ID value from either the AppointmentDeleting or AppointmentSelecting event? I have got adding appointments running fine, but I can't get the deleting until I figure out how to get the ID number.

Thanks
0
Stefan
Telerik team
answered on 15 Mar 2011, 03:57 PM
Hello Art,

Thank you for writing back.

In this case I can not determine why you can not get the desired appointments. To do that I have to investigate your project. This is why I would like to kindly ask you to provide me with your project together with a sample data so I can see it fully working on my end. This will allow me to see what exactly is your scenario and how you can get the desired appointment.

Thank you for your cooperation. I am looking forward to your response.

Regards,
Stefan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Scheduler and Reminder
Asked by
Art
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Art
Top achievements
Rank 1
Share this question
or