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

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 18 Feb 2011 Link to this post

    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
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Sep 2012 Link to this post

    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.
Back to Top