There is a cookie persistence functionality or you can do it with something like tree.selectKey(val).Expand();
where val is the key of what you need to expand.
You can also use the generateIds:true;
option when creating the tree so you can access directly the nodes if know the id and can use jquery selector.