Appointment multi-selection

15 posts, 1 answers
  1. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 28 Sep 2010 Link to this post

    Hi Experts,

    Is it possible to select multiple appointments? I would like the user to select multiple appointments with the CTRL key and move the selected appointment in the schedule. Example, user select 3 appointments and drag those 2 hours later.

    Regards,
    Nadia
  2. Answer
    Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 01 Oct 2010 Link to this post

    Hi Nadia Sangiovanni,

    Thank you for writing.

    Unfortunately, we do not provide multiple selection in the scheduler, mostly because we have not seen any demand for this feature. We will nevertheless consider implementing this feature in a future release.

    For further assistance, do not hesitate to write us.

    All the best,
    Dobry Zranchev
    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 21 Dec 2010 Link to this post

    Is there any work-around then? Like render the appointment with a checkbox and upon a button click, traverse all appointments to get selected one based on the templates check being checked? I really need a form of multiple selection.
  5. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 23 Dec 2010 Link to this post

    Hello Hassan,

    Thank you for writing.

    Because of other important tasks scheduled for next releases, I cannot provide you with a specific time frame in which we will implement the multiple selection of appointments. There is no solution that we can provide for the time being.

    Regards,
    Dobry Zranchev
    the Telerik team
    Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
  6. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 23 Dec 2010 Link to this post

    I'm in a serious situation here, then.
  7. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 28 Dec 2010 Link to this post

    Hi Nadia Sangiovanni,

    Currently we do not support this feature and it will be not easy to implement it. That is why we cannot offer a suitable work around. Please, could you elaborate a bit more and describe in detail what exactly you want to achieve. This will help us to understand your scenario. Maybe we can find a better option.

    In the meantime I will speak with our developers and we will research all options.

    If there is something else that I can assist with, please do not hesitate to contact me.

    All the best,
    Jack
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
  8. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 28 Dec 2010 Link to this post

    Thank you.
  9. Peter
    Peter avatar
    16 posts
    Member since:
    Apr 2012

    Posted 10 Oct 2012 Link to this post

    Hi,

    are there any changes on this topic? 

    Best,

    Peter 
  10. Peter
    Peter avatar
    16 posts
    Member since:
    Apr 2012

    Posted 16 May 2013 Link to this post

    Hi,

    any changes on this topic? 

    Thank you in advance for your answer.

    Peter
  11. Georgios
    Georgios avatar
    4 posts
    Member since:
    May 2013

    Posted 10 Jun 2013 Link to this post

    Hi,

    I'm also looking for Appointment multiselection.
    Anything new ?

    Regards,
    Georgios
  12. Mary
    Mary avatar
    12 posts
    Member since:
    Jul 2014

    Posted 21 Apr 2015 Link to this post

    Hi Telerik Team,

     

    Our scheduler must allow a user to select multiple appointments and drag them all to a new position at the same time. Are there any updates re: multiple appointment selection on a Winforms radscheduler? (If not, has anyone come up with any workarounds/other ideas for achieving the same ends?)

     

    Thanks.

  13. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 21 Apr 2015 Link to this post

    Hello,

    Thank you for writing.

    You can achieve the desired behavior by using the SchedulerElement.DragDropBehavior.PreviewDragDrop event. In the event handler you can modify the start/end of the all selected appointments. Here is an example:
    public Form1()
    {
        InitializeComponent();
     
        for (int i = 0; i < 3; i++)
        {
            Appointment a = new Appointment(DateTime.Today.AddHours(i), TimeSpan.FromMinutes(30), "A" + i);
            this.radScheduler1.Appointments.Add(a);
        }
     
        this.radScheduler1.AllowAppointmentsMultiSelect = true;
        this.radScheduler1.SchedulerElement.DragDropBehavior.PreviewDragDrop += DragDropBehavior_PreviewDragDrop;
    }
     
    private void DragDropBehavior_PreviewDragDrop(object sender, Telerik.WinControls.RadDropEventArgs e)
    {
        DragFeedbackElement draggedItem = e.DragInstance as DragFeedbackElement;
        if (this.radScheduler1.AllowAppointmentsMultiSelect)
        {
            foreach (Appointment a in this.radScheduler1.SelectionBehavior.SelectedAppointments)
            {
                if (a != draggedItem.AssociatedAppointment)
                {
                    a.End = draggedItem.Appointment.Start.Add(a.Duration);
                    a.Start = draggedItem.Appointment.Start;
                }
            }
        }
    }

    Additionally, you can refer to our Scheduler >> Drag and drop section in the online documentation.

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Dess
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  14. Mary
    Mary avatar
    12 posts
    Member since:
    Jul 2014

    Posted 21 Apr 2015 in reply to Dess Link to this post

    Hi Dess,

     

    That's fantastic. Thank you for your help.

     

    One issue i'm having with this is that the user has to keep Ctrl pressed while dragging the group of appointments, otherwise only one appointment will be moved. I know I'm being picky, but this isn't really the traditional way of doing things where Ctrl+Click is concerned, and I don't want users to be confused. Is there any way of making it so that Ctrl only needs to be held down while selecting the appointments, or ... ?

     

  15. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 24 Apr 2015 Link to this post

    Hello Duncan,

    Thank you for writing back.

    By default, multiple selection is performed by clicking over the desired appointment with Ctrl key pressed. That is why in order to keep the selection before start dragging an appointment, you need to keep the Ctrl key pressed.

    However, you can store the RadScheduler.SelectionBehavior.SelectedAppointments by using the RadScheduler.AppointmentMouseDown event and use them in the SchedulerElement.DragDropBehavior.PreviewDragDrop to apply the changes to all of the store events.

    I hope this information helps. If you have any additional questions, please let me know.

    Regards,
    Dess
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  16. Mary
    Mary avatar
    12 posts
    Member since:
    Jul 2014

    Posted 27 Apr 2015 in reply to Dess Link to this post

    Thanks Dess. That's great.
Back to Top
UI for WinForms is Visual Studio 2017 Ready