You can get the child items of a given row on RowDropping
and decide whether to cancel the dropping action or not. Client-side TreeListDataItem
object has a get_childItems()
property that will return a collection of the child items.
It is possible to use get_childItems().length
to count them. Note that the client-side item objects do not exist initially. They will be created automatically when you call the get_dataItems()
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