Completed
Last Updated: 01 Oct 2014 13:12 by ADMIN
ADMIN
Ivan Todorov
Created on: 26 Jun 2014 11:09
Category: Scheduler/Reminder
Type: Bug Report
0
FIX. The AppointmentResizeEnd event fires on mouse up even when the resize was not started
The AppointmentResizeEnd event fires in cases where there was no resize done (for example when selecting appointments)

To workaround:

public Form1()
{
    InitializeComponent();
    this.radScheduler1.SchedulerElement.ResizeBehavior = new MyResizeBehavior(this.radScheduler1);
}
 
class MyResizeBehavior : AppointmentResizingBehavior
{
    public MyResizeBehavior(RadScheduler scheduler)
        :base(scheduler) { }
 
    public override bool EndResize(IEvent appointment)
    {
        if (!this.IsResizing)
        {
            return false;
        }
        return base.EndResize(appointment);
    }
}
0 comments