Can somebody please help me. This is probably a really simple problem but i just cant solve it! I will try and explain what i am trying to do. The user can set up departments...from each departments different tree data is loaded from a database. The problem im having at the moment is a) Moving nodes up and down and having that change saved in the database so that its always the same and b) (the cruicial one) When a node is deleted any nodes under the one being deleted will be moved to a default department. I just cant figure out how to do it..i mean if there are 6 folders under the folder being deleted and lots of items within those 6 folders, how do i loop through each one and change the Department name for EACH item?

If anyone can help i will be VERY VERY thankful.