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

Get resource key at inserting

1 Answer 46 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Yang Qu
Top achievements
Rank 1
Yang Qu asked on 29 Apr 2010, 12:46 AM
How do I get current selected resource key at inserting?
Assume my resource is selected from dropdown, and I am using a customized advanced template and my own dbscheduler provider.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Apr 2010, 04:05 PM
Hi Yang Qu,

The resource should be available in AppointmentInsert:
protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
    {
         e.Appointment.Resources.GetResourceByType("User").Key       
    }


All the best,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
Yang Qu
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or