Urgent : Probelm related to drag and drop after replacing new DLLs

4 posts, 0 answers
  1. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 21 Jul 2011 Link to this post

    Hi telerik,

    I have replaced new DLLs for schedulerVeiw (version 2011.2.712.1040). As i read one of your post you replied that I should use RadScheduleView.DragDropBehavior for customDragAndDrop.

    public sealed class CustomDragAndDrop : ScheduleViewDragDropBehavior
      {
    }

    I done it like this.

    In my application I  am using OnCalendarControlDragQuery and OnCalendarControlDropInfo to identify currently drag operation is going on. So I am not allowed to open edit appointmentview.

    But right now both of this events are not fired.  So every time appointment edit diaglog box is opened, I am using my own popup. now directly editing event is fired. So how can i come t know currently drag operation is going on or editing operation is going on.


    Thanks
    H@rdik Pancholi


  2. Yana
    Admin
    Yana avatar
    4713 posts

    Posted 26 Jul 2011 Link to this post

    Hello Hardik,

    This is correct - you should override the methods in the ScheduleView DragDrop behavior, they are listed here.

    Please open a support ticket and send us a simple runnable project demonstrating your exact scenario, so we to be able to provide a suitable solution. Thanks in advance

    All the best,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 27 Jul 2011 Link to this post

    Hi,

    I have already override it. But its not working

    RadDragAndDropManager.AddDragQueryHandler(this.XamlScheduleView, this.OnCalendarControlDragQuery);
    RadDragAndDropManager.AddDropInfoHandler(this.XamlScheduleView, this.OnCalendarControlDropInfo);

     private void OnCalendarControlDragQuery(object sender, DragEventArgs e)
        {
          this.reservationDragging = true;     
        }

     private void OnCalendarControlDropInfo(object sender, DragDropEventArgs e)
        {
          this.allowEdit = true;
        }


    But with new DLLs above methods not called  while I draaaging the reservation.

    Thanks
    H@rdik Pancholi
  4. Yana
    Admin
    Yana avatar
    4713 posts

    Posted 28 Jul 2011 Link to this post

    Hi Hardik,

    We're not sure what exactly is your scenario, so sending a sample project will be of great help in order to provide a suitable solution. Thanks in advance

    Kind regards,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top