Prevent auto expand of treenode during drag/drop

2 posts, 0 answers
  1. Sunandini
    Sunandini avatar
    4 posts
    Member since:
    Apr 2009

    Posted 04 Dec 2009 Link to this post


    Our application has a Telerik Tree and Grid. We allow drag and drop between the Tree and Grid and within the tree. When we drag and drop into the tree and node over which it moves gets auto expanded. How can we prevent this?

    We saw a solution for a similar problem on the ASP .NET forum.

    Is there one for WPF?

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 08 Dec 2009 Link to this post

    Hi Sunandini,

    You can use RadTreeView's DropExpandDelay property and set to some large quantity.

    treeview.DropExpandDelay = TimeSpan.FromMinutes(60);

    Please have a look at this forum thread. Also, I have attached my sample project for further reference. Let me know if this is of any help.

    Kind regards,
    Kiril Stanoev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top