I am sure this is just me being stupid but I can't work out why there is no selected node when a treeview is disabled.
I build the treeview in the code behind and disable it if a property is true (as I do not want the user to be able to change the selected value). This has a selected node but when I click a button on the page to save the values selected the treeview has no selected node.
It still displays a selected node but none is apparently.
What am I doing wrong?
I build the treeview in the code behind and disable it if a property is true (as I do not want the user to be able to change the selected value). This has a selected node but when I click a button on the page to save the values selected the treeview has no selected node.
It still displays a selected node but none is apparently.
What am I doing wrong?