how to access outside data in DragEnding event

2 posts, 0 answers
  1. Raj Sharma
    Raj Sharma avatar
    7 posts
    Member since:
    Jan 2010

    Posted 15 Feb 2010 Link to this post

    I am using DragEnding event of RadTreeView to write my business logic when something is dropped in tree.

    I can do drop to the tree view from 2 places...

    1) Within the tree view i can perform drag and drop. (For reordering the nodes)

    2) From outside the tree view i can drop objects of different types. The objects to be dropped into treeview can be single or multiple.

        In Windows tree view control there is event DragDrop. where we can get the data of any types which are being dropped into treeview, and we can typecast perform operations.
    like e.Data.GetData(Type of data) .

    How do i get this in DragEnding event. 

  2. Victor
    Victor avatar
    1358 posts

    Posted 16 Feb 2010 Link to this post

    Hi Raj Sharma,

    RadTreeView drag and drop methods do not support arbitrary objects, they only support drag and drop between RadTreeViews and inside a RadTreeView itself. The standard .NET drag and drop and RadTreeView mechanism are mutually exclusive which means that you will have to choose only one and tailor your application toward it. Please write again if you have other questions.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top