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

Appointment Double Clicking

3 Answers 74 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paige Cook
Top achievements
Rank 2
Paige Cook asked on 08 Sep 2008, 07:06 PM
We have noticed that if you single click on an appointment and then wait a while (seconds or even minutes) and single click on that same appointment again, the OnClientAppointmentDoubleClick event will fire. We noticed this within a usability test conducted on our application.  I was able to reproduce this behavior in the RadScheduler Client-Side Events demo online. Is there anyway to limit or restrict the delay between clicks that trigger the double-click event?
Thanks!

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 09 Sep 2008, 10:01 AM
Hi Paige Cook,

I believe that configuring the Mouse speed would help.
Go to Control Panel > Mouse and move the slider towards the Slow speed.

Here is the attached screenshot:



I hope this helps.

Sincerely yours,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Accepted
T. Tsonev
Telerik team
answered on 09 Sep 2008, 11:54 AM
Hi,

Another explanation is that RadScheduler maintains a selected state internally. The first click selects the appointment and the second fires the appointmentClick event. We will eventually develop this into fully featured selection, but for now you have to use the following workaround to clear the selected state after each click event:

function appointmentClick(sender, eventArgs) 
    // ... 
    window.setTimeout(function() { eventArgs.get_appointment()._unselect() }, 0); 
 

Sorry for the inconvenience.


Greetings,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Paige Cook
Top achievements
Rank 2
answered on 09 Sep 2008, 12:05 PM
Tsvetomir,$0$0$0$0The internal selected state explains the behavior I was experiencing. And the workaround is exactly what I was looking for.$0$0$0$0$0Thank You,$0$0Paige$0$0$0$0$0$0$0$0$0$0
Tags
Scheduler
Asked by
Paige Cook
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
T. Tsonev
Telerik team
Paige Cook
Top achievements
Rank 2
Share this question
or