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

want to know the current resource details

1 Answer 23 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
hema
Top achievements
Rank 1
hema asked on 14 Jul 2011, 01:34 PM
Hi
i am dynamically setting the resources(may be multiple).
when i am double cliking on scheduler new appointment window is opening, that time i want to know from which resource i am creating appointment

Thanks
Hema

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 19 Jul 2011, 10:06 AM
Hi Hema,

Thank you for your question.

You can subscribe to the AppointmentEditDialogShowing event and extract from the event args the resource for which an appointment will be created or edited. Here is a sample code:
void radScheduler1_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
{
    this.radScheduler1.Resources.GetById(e.Appointment.ResourceId);
}

I hope this is useful. Feel free to ask if you have any additional questions.

Kind regards,
Ivan Todorov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Scheduler and Reminder
Asked by
hema
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or