Hi, i have more of a procedural question about a Treeview.
I have a Treeview on my page, this is populated with a set of IDs and their corresponding display text, i also have a Tabstrip on the page which is split into 4. Basically when a user clicks on a different TabStrip this populates the Treeview with a different set of IDs/text.
I have a hashtable to store ALL the IDs and Text in, and i use an ArrayList to store the Users selected choices. At the moment i am thinking about using a couple of Session Variables to enable me to persistently store the clicked IDs (as i need to show these on every page).
To reload the Treeview with checked/unchecked boxes i am going to have to loop through the ArrayList of Ids, in turn looping through all the Nodes in the Treeview. This will happen on the click of a Save button. But i also need to store ALL the checked nodes when the user clicks either the Save button, or clicks off onto another Tab.
Just wanted to know if this sounds like a good way to do things..? Am i on the right track? Does anyone have any suggestions or may have done something similar in the past?
Any comments greatly appreciated,
Thanks
Axum
I have a Treeview on my page, this is populated with a set of IDs and their corresponding display text, i also have a Tabstrip on the page which is split into 4. Basically when a user clicks on a different TabStrip this populates the Treeview with a different set of IDs/text.
I have a hashtable to store ALL the IDs and Text in, and i use an ArrayList to store the Users selected choices. At the moment i am thinking about using a couple of Session Variables to enable me to persistently store the clicked IDs (as i need to show these on every page).
To reload the Treeview with checked/unchecked boxes i am going to have to loop through the ArrayList of Ids, in turn looping through all the Nodes in the Treeview. This will happen on the click of a Save button. But i also need to store ALL the checked nodes when the user clicks either the Save button, or clicks off onto another Tab.
Just wanted to know if this sounds like a good way to do things..? Am i on the right track? Does anyone have any suggestions or may have done something similar in the past?
Any comments greatly appreciated,
Thanks
Axum