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

Drag appointments while scrolling screen problem

6 Answers 132 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 27 Sep 2012, 09:10 AM

Hi, I have a scheduler control setup. I can have a variable number of user resources which are used to group the appointments, so columns can go off the right edge of the screen.

 

I have some code that works for radgrids which setup the viewport and allows scrolling while draggin. While this might work for the scheduler, the problem is that as soon as you drag an appointment off the right side of the screen, it is no longer “being dragged”

 

Is there a way to allow scrolling through columns off the right side of the screen while dragging an appointment?

 

Thanks

 

James

 

6 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 28 Sep 2012, 01:30 PM
Hi James,

RadScheduler does not support dragging of appointments outside the RadScheduler boundaries. You can drop an appointment that comes from some other server control (as it is shown in the following demo: http://demos.telerik.com/aspnet-ajax/scheduler/examples/draganddropintegration/defaultcs.aspx?product=scheduler), but dragging appointments out of RadScheduler is not supported considering the current state of Radscheduler.

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
James
Top achievements
Rank 1
answered on 01 Oct 2012, 07:16 AM

Hi Ivana,

Ok, do you know if anyone has got code to make the scheduler scroll horizontally when you are dragging inside it’s boundaries? I guess I can try altering the viewport code

 

On the example you linked me to there is a similar problem. If you wanted to move an appointment to say 2pm, which is not visible, you cannot do this. you have to drag the appointment onto the visible section, then scroll down, then drag the appointment



Thanks

James
0
James
Top achievements
Rank 1
answered on 01 Oct 2012, 08:11 AM

Actually my existing example code scrolls the screen, not the control itself, which is not what I need.

 

What I need is to be able to make the scheduler scroll right when you are dragging an appointment to a column to the right which is not visible.

 

I have added a screen shot to try to show what I mean. There are 20 users in this scheduler. The columns make the scheduler control scroll. If I drag an appointment from one column to the right side of the scheduler, I need the scheduler to scroll to the right.

 

This functionality works fine IF YOU DRAG AND SCROLL LEFT

0
James
Top achievements
Rank 1
answered on 01 Oct 2012, 08:24 AM
As my demo stood, it works scrolling left, up and down while dragging.

i then constrained the szie of the scheduler to les than the page width. you can then scroll right (albeit a bit hit and miss). DOes that sound correct - yo can scroll right if you have a width set on the scheduler control?
0
Ivana
Telerik team
answered on 03 Oct 2012, 02:15 PM
Hi James,

I have just tested the RadScheduler for a horizontal scrolling while dragging and dropping appointments. Here is how it looks like at my end: http://screencast.com/t/FGrfoFUPe9.

Would you let me know of the exact definition of RadScheduler in your application? Also, what is the version of RadControls for ASP.NET AJAX that you use?.

Thank you!

Kind regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
James
Top achievements
Rank 1
answered on 04 Oct 2012, 10:28 AM
thanks. It does seem to be happier if you set a height and width for the control.

we're going to look at he silverlight version anyway as it is a lot better from a user perspective
Tags
Scheduler
Asked by
James
Top achievements
Rank 1
Answers by
Ivana
Telerik team
James
Top achievements
Rank 1
Share this question
or