Completed
Last Updated: 12 May 2014 08:13 by ADMIN
ADMIN
Stefan
Created on: 12 Feb 2014 14:33
Category: Scheduler/Reminder
Type: Bug Report
0
FIX. RadScheduler - EditorViewMode set to EditorDialog results in not very responsive appointment editing
To reproduce:


Set the following property:
this.scheduler.SchedulerElement.EditorManager.EditorViewMode = SchedulerEditorViewMode.EditorDialog;


After that when editing an appointment a small dialog should appear on the side of the appointment.


You will notice that it is very hard to make the dialog appear and it is not very clear at what conditions.


Workaround:


Show the dialog whenever you need it. For example, when an appointment is clicked:


this.scheduler.SchedulerElement.EditorManager.EditorViewMode = SchedulerEditorViewMode.EditorDialog;


this.scheduler.MouseClick += scheduler_MouseClick;


void scheduler_MouseClick(object sender, MouseEventArgs e)
{
    if (this.scheduler.ElementTree.GetElementAtPoint(e.Location) as AppointmentElement != null)
    {
        this.scheduler.SchedulerElement.EditorManager.BeginEdit();
    }
}
0 comments