Drag and Drop ASP List item to Telerik List

3 posts, 0 answers
  1. Terri
    Terri avatar
    2 posts
    Member since:
    Dec 2007

    Posted 30 Jun 2010 Link to this post


    I had an inquiry into whether it is possible to drag and drop an item from a standard ASP.net List Control to a Telerik TreeView Control? If so, could you provide me some sample code or references in which I could follow to do this.

  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 06 Jul 2010 Link to this post

    Hi Terri,

    Well, the default asp controls, doesn't have client-side API, so it will be pretty hard to achieve such a scenario.
    And one can say that it's not even the easiest thing if you implement drag and drop between controls that have client-side js object representation.

    My suggestion is - if you need a similar to listView control - use ours (RadListView)!
    Also there is a sample for drag and drop with listView: http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx

    Hope this is going to help you!

    Nikolay Tsenkov
    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
  3. Laurence
    Laurence avatar
    5 posts
    Member since:
    Jul 2013

    Posted 25 Jul 2013 Link to this post

    I know this is an old thread but it turned up in a search I made and I didn't want anyone else to be put off.

    It's actually relatively straightforward to add this functionality using jquery. You can approach it in exactly the same way you would handle drag/drop within an asp list, using dragover/dragend/dragleave/drop.  I'm currently looking at drag-drop in the other direction i.e. telerik list to asp list item, which I am anticipating may be more effort. 
Back to Top