Drag appointments while scrolling screen problem

7 posts, 0 answers
  1. James
    James avatar
    70 posts
    Member since:
    Jun 2009

    Posted 27 Sep 2012 Link to this post

    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

     

  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 28 Sep 2012 Link to this post

    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.
  3. James
    James avatar
    70 posts
    Member since:
    Jun 2009

    Posted 01 Oct 2012 Link to this post

    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
  4. James
    James avatar
    70 posts
    Member since:
    Jun 2009

    Posted 01 Oct 2012 Link to this post

    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

  5. James
    James avatar
    70 posts
    Member since:
    Jun 2009

    Posted 01 Oct 2012 Link to this post

    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?
  6. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 03 Oct 2012 Link to this post

    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.
  7. James
    James avatar
    70 posts
    Member since:
    Jun 2009

    Posted 04 Oct 2012 Link to this post

    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
Back to Top