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

In Scheduler Month case don't want to drag and drop

1 Answer 33 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 18 Feb 2011, 02:10 PM
Hello

 See the following demo link

http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx

In this case in month tab. we can easily drag and drop the exam. I don't want to drag and drop option in case MONTH ..

How to disable the drag and drop in case of Month


Thanks
Regards
Rahul

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Sep 2012, 09:51 AM
Hi,

Try the following JavaScript to achieve your scenario.

JS:
<script type="text/javascript">
  function OnClientAppointmentMoving(sender, args) {
        var RadScheduler1 = $find('<%=RadScheduler1.ClientID %>');
        if (RadScheduler1.get_selectedView() == 2) {
            args.set_cancel(true);
        }
    }
</script>

Hope this helps.

Regards,
Princy.
Tags
Scheduler
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or