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

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

3 Answers 44 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Hardik
Top achievements
Rank 1
Hardik asked on 21 Jul 2011, 09:01 AM
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


3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 26 Jul 2011, 03:20 PM
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!

0
Hardik
Top achievements
Rank 1
answered on 27 Jul 2011, 11:29 AM
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
0
Yana
Telerik team
answered on 28 Jul 2011, 03:16 PM
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!

Tags
ScheduleView
Asked by
Hardik
Top achievements
Rank 1
Answers by
Yana
Telerik team
Hardik
Top achievements
Rank 1
Share this question
or