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

Drag and Drop issue with Multiple Resources

1 Answer 79 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 15 Dec 2010, 10:30 PM
In my RadScheduler each appointment can have multiple resources of the same type (e.g. an appointment can have 2 salespeople on it).   I implemented a custom provider to accomplish this and everything renders fine -- if I have my scheduler grouped by salesperson and date, the appointment will show up under both salespeople (see screenshot 1).

Now let's say I want to reschedule that appointment by dragging it to a new time slot.  To do so, I can drag either the appointment listed under my first salesperson or my second salesperson.   If I drag the appointment box for the first Salesperson it works as expected -- the scheduler is updated so the new appointment time is reflected for both salespeople. (see screenshots 2 and 3)

However, if I go to drag the appointment for the second Salesperson, it actually starts dragging the appointment block for the first salesperson instead of the second salesperson.   It's as if the drag and drop code in the scheduler is selecting the wrong appointment block when that appointment is on the scheduler multiple times due to it having multiple resources of the same type. (see screenshot 4)

Here's a more detailed explanation of what each screenshot shows:

1. A single appointment in Indianapolis scheduled for 12:30pm that has two salespeople (01TECH and 02TECH).  It correctly renders for each salesperson on the scheduler

2. I then decide I want to reschedule the appointment to 10:00am so I drag the appointment listed under 01TECH from 12:30pm to 10:00am.  This shows that dragging working properly.

3. After I drop the appointment at 10:00am this shows how the scheduler updates.  This is correct.  It shows the appointment now at 10:30am and it still has it listed under each Salesperson.

4.  Shows the problem when I try to do the same thing by dragging the appt listed for 02TECH.  Here I actually tried to click and drag the 12:30pm appointment listed under 02TECH, but the scheduler picks up the 12:30pm appointment for 01TECH and uses that for the drag operation.

Is this a known issue?   Are there any workarounds or fixes?

Thanks....

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Dec 2010, 02:39 PM
Hi Jason,

Thank you for the detailed and clear description of the problem. I have logged the issue and you can monitor the progress on it in the PITS -
http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/4415

Your Telerik points have been updated.

Regards,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Jason
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or