TreeView Select help...
I have a treeview that I'm dynamically creating on the page load. When i click the node in the treeview the node is selected and highlighted then in the SelectedNodeChanged event i'm gathering data based on the node value and displaying a modal. Now my issue is that if i close the modal and select the same node again nothing happens, because the node is already selected. So what i have to do is click another node, close the modal then select the node i originally selected to get it to display.
So what I need to figure out is:
How do I reselect a node that has been selected
or
Unselect that node once I display my modal but then make it look selected so that i can select it again.
I tried the second option but i don't know how to make it not look selected once i do change my node selection.
I'm assuming that on the SelectedNodeChanged even I need to pass the node value then unselect it then use Javascript or something to change the background color to make it look selected. But the issue comes on how to make it not look selected when i do change it?
I hope this isn't too confusing. Any help would be appreciated, I've googled this but with no luck and i'm just having a huge brain fart!
__________________
Jason Hall
|