I need a hand on how to achieve this. I have a page with a dynamically loaded treeview working fine on the left, and content on the right based on the tree view node that has been clicked. When the content on the right is saved, it needs to reload both that content and the treeview - because the treeview might change based on the right content save. I'm doing a full page reload, passing through the selected treeview node ID in the URL.
On reloading, I need the selected ID node to be selected still (this is working fine), but also I need :-
- the treeview to be expanded down to that node so that the selected node is visible to the user
- to trigger the click even of that node such that the content on the right is reloaded from that event as currently
How can I achieve this? I can't find any loaded/rendered event to work with (I tried the page document.ready event but the treeview isn't available to the DOM at that point so threw an error, and also the dataBound event of the treeview but that didn't seem to trigger either, it just did nothing).
Any help would be appreciated.