it seems like the treeview control in asp.net will clear the SelectedNode
property, when Visible is set to false.
i want to create a dropdown with a treeview inside it, and every time i collapse the dropdown, the value is cleared!
is there a workaround/fix for that? i tried abusing the ViewState
, but then i have problems with assigning the default value.
is this a bug or is this by design?
TIA