You could try looping all TreeListDataItems (RadTreeList1.Items) in PreRender and check which of them should be put in edit mode. For these that fit the condition, add their HierarchIndex property value to the EditIndexes collection of the treelist:
Finally, rebind the RadTreeList to put the items in edit mode.
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