This is a migrated thread and some comments may be shown as answers.

Not ALLOW add child node when use drag an drop

1 Answer 35 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 19 Jan 2012, 07:38 PM
I have the following scenario


I use "draganddrop" to mmove documents from 1 folder to another.
But I have the following problem:


IDocuments has not contains documents.. Only folder nodes can has contains.

How I can do this?
Documents no NOT allow add chil documents...

There are any property to this?? ALLOWChilda= false??

thanks

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 20 Jan 2012, 05:00 PM
Hi Julieta,

 
You can cancel the onClientNodeDropping event in the destination node if it is a folder.

Hope this will be helpful.

All the best,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TreeView
Asked by
July
Top achievements
Rank 2
Answers by
Plamen
Telerik team
Share this question
or