Disable auto expand on drop

2 posts, 0 answers
  1. Kevin Hendriks
    Kevin Hendriks avatar
    56 posts
    Member since:
    Feb 2009

    Posted 28 Aug 2012 Link to this post


    How can I disable auto expand when I drop an item in the treeview.
  2. Petar Mladenov
    Petar Mladenov avatar
    2992 posts

    Posted 30 Aug 2012 Link to this post

    Hi Kevin,

     Currently there is no out of the box way to disable this expansion on drop. You have to create your custom drag drop operation but this will be a lot of work for a small requirement. However, you can use the DropExpandDelay property of the RadTreeView and set it to a big TimeSpan interval , for example 2 hours.
    You can find this demonstrated in the attached solution. 

    public MainPage()
               this.tree2.DropExpandDelay = TimeSpan.FromMinutes(120);
    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top