Hi,
You can try to use the javascript to refresht the treeview, and call the function when you added the nodes or deleted nodes in the code benhind.
Below is some sample code:
1. Javascript:
function postBackByObject()
{
__doPostBack("","");
}
2. call the javascript in the codebehind:
Page.RegisterStartupScript("ggg","postBackByObject()");
Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support