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

Disabling the Scheduler Appointment Drag Option with edit being enabled

1 Answer 96 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
yashaswi pk
Top achievements
Rank 1
yashaswi pk asked on 18 Feb 2010, 06:25 AM
Hi

I want to disable the Scheduler default drag option , while the edit should be enabled for the cell. I am viewing the appointment as the Week view.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 18 Feb 2010, 08:41 AM
Hi,

If you want to disable moving the appointments through dragging and still want to edit the appointment, then you can cancel the OnClientAppointmentMoveStart event using args.set_cancel(true) method.

javascript:
 
 <script type="text/javascript">   
        function OnClientAppointmentMoveStart(sender, eventArgs)    
        {            
            eventArgs.set_cancel(true);   
        }   
 </script>  

-Shinu.



Tags
Scheduler
Asked by
yashaswi pk
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or