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

Blocking Double click behavior in RadScheduler

2 Answers 224 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
nyi nyi
Top achievements
Rank 1
nyi nyi asked on 02 Dec 2010, 05:13 AM
Hi,

I'd like to display appointment create/edit from only by clicking context menu item. I'd like to block double-clicking behavior on RadSheduler.
How could i do that?
Thanks in advance.

Regards,
NNT

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Dec 2010, 07:26 AM
Hello,


I hope the following logic will do the trick for you.

Code:
var check = false;
function OnClientAppointmentDoubleClick(sender, args) {
    check = true;
}
function OnClientAppointmentEditing(sender, args) {
        args.set_cancel(check);
}
[Attach these events to RadScheduler.]


Bast wishes..:)


-Shinu.
0
nyi nyi
Top achievements
Rank 1
answered on 02 Dec 2010, 07:56 AM
Hi Shinu,

Thanks for the answer.
I also got what i want by setting  AllowEdit and AllowInser to false. Thx.
AllowEdit="false" AllowInsert="false"

Regards,
NNT
Tags
Scheduler
Asked by
nyi nyi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
nyi nyi
Top achievements
Rank 1
Share this question
or