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

New Resource Name under Appointment_MoveEnd

2 Answers 38 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Haroon Khokhar
Top achievements
Rank 1
Haroon Khokhar asked on 29 Jul 2009, 02:07 AM
Hi All,

The Appointment_MoveEnd captures the new date time of the selected appointment after it is moved within the same resouce, but what if the appointment is moved to a different resource when Scheduler displays mutiple resources. Is there any way i could find new resource details after the appointment has been move to a different resource.

Thanks in advance.

Haroon


2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 29 Jul 2009, 03:39 PM
Hi,

You can use the targetSlot property to retrieve the new resource, as described here:
http://www.telerik.com/help/aspnet-ajax/schedule_clientsideonclientappointmentmoving.html

function(sender, eventArgs)
{
    alert(eventArgs.get_targetSlot().get_resource().get_text());
}

I hope this helps.

Greetings,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Haroon Khokhar
Top achievements
Rank 1
answered on 02 Aug 2009, 11:41 PM
Hi Tsvetomir,

Your solution worked like a charm,

Thanks for your help.

Haroon
Tags
Scheduler
Asked by
Haroon Khokhar
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Haroon Khokhar
Top achievements
Rank 1
Share this question
or