Drag from RadTreeVIew to RadScheduleView Example

7 posts, 1 answers
  1. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 05 Feb 2012 Link to this post

    Does anybody have a good example of setting up a treeview and allowing drag and drop to radschedule view.There is a post out there (http://www.telerik.com/community/forums/silverlight/scheduleview/drag-drop-from-radtreeview-to-radscheduleview.aspx) but the app does not compile.
    Thanks in advance. Cliff
  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Feb 2012 Link to this post

    Hello Cliff,

    We checked the attached in the other thread project and it is compiled without a problem. Can you tell us the errors you receive?

    Regards,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 06 Feb 2012 Link to this post

    Here are the errors I receive, Thanks for the quick response.

    Error 1 The type 'Telerik.Windows.DragDrop.Behaviors.DragDropState' cannot be used as type parameter 'TBehavior' in the generic type or method 'Telerik.Windows.DragDrop.Behaviors.DragDropHelper<TState,TBehavior>'. There is no implicit reference conversion from 'Telerik.Windows.DragDrop.Behaviors.DragDropState' to 'Telerik.Windows.DragDrop.Behaviors.DragDropBehavior<Telerik.Windows.Controls.TreeView.TreeViewDragDropBehavior>'. C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 13 15 DragDropTestApp

    Error 2 The type 'Telerik.Windows.Controls.TreeView.TreeViewDragDropBehavior' cannot be used as type parameter 'TState' in the generic type or method 'Telerik.Windows.DragDrop.Behaviors.DragDropHelper<TState,TBehavior>'. There is no implicit reference conversion from 'Telerik.Windows.Controls.TreeView.TreeViewDragDropBehavior' to 'Telerik.Windows.DragDrop.Behaviors.DragDropState'. C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 13 15 DragDropTestApp

    Error 3 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper' does not implement inherited abstract member 'Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TreeView.TreeViewDragDropBehavior,Telerik.Windows.DragDrop.Behaviors.DragDropState>.GetDraggedItems(object)' C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 13 15 DragDropTestApp

    Error 4 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.FindDragSource(System.Windows.FrameworkElement)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 19 39 DragDropTestApp

    Error 5 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.FindDraggedItem(System.Windows.FrameworkElement)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 37 39 DragDropTestApp

    Error 6 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.FindDropItemsControl(System.Windows.FrameworkElement, object)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 47 39 DragDropTestApp

    Error 7 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.FindDropTarget(System.Windows.FrameworkElement)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 62 39 DragDropTestApp

    Error 8 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.GetDraggedItems(System.Windows.FrameworkElement)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 77 42 DragDropTestApp

    Error 9 'Telerik.Windows.Controls.TreeView.TreeViewDragDropHelper.Drop(System.Windows.FrameworkElement, System.Windows.FrameworkElement, object, System.Type)': no suitable method found to override C:\Users\Cliff\Desktop\Lightswitch Training\Telerick\TreeViewDropScheduleview (Wont Compile)\TreeView\TreeViewDragDropHelper.cs 100 27 DragDropTestApp
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Feb 2012 Link to this post

    Hello Cliff,

    Could you please tell us which version of the controls you're using? Thanks

    All the best,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 08 Feb 2012 Link to this post

    RadControls for Silverlight Q3 2011
  7. Cliff McManus
    Cliff McManus avatar
    32 posts
    Member since:
    Mar 2011

    Posted 10 Feb 2012 Link to this post

    OK ........Call me a newbie.......
    I ran the upgrade wizard and upgraded the project to the current version I have on my machine and all works as expected.

    Lesson Learned, dont assume the project downloaded is for the version of Telerik tools you have installed on your machine.

    Issue closed.....
    Cliff

  8. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 13 Feb 2012 Link to this post

    Hello Cliff,

    I am glad that you've managed to fix the issue.

    Greetings,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top
DevCraft banner