pjpark
May 28th, 2002, 10:42 PM
I have a project that uses the treeview web control. I want the treeview to change based on a list box selection.
When the user makes a selection, I create or use an existing XML file as the TreeNodeSrc; however, the treeview doesn't change. I have tried adding other controls and changing properties and have done so successfully. I even tried dynamically creating the treeview control and adding it to the form. It gets added but ignores the TreeNodeSrc property. I can add items dynamically to the treeview through the nodes collection, but I'd rather just set the Src to the appropriate XML file.
I am of course running everything at the server so I don't understand why the update isn't happening.
Any guesses?
:confused: :confused: :confused:
When the user makes a selection, I create or use an existing XML file as the TreeNodeSrc; however, the treeview doesn't change. I have tried adding other controls and changing properties and have done so successfully. I even tried dynamically creating the treeview control and adding it to the form. It gets added but ignores the TreeNodeSrc property. I can add items dynamically to the treeview through the nodes collection, but I'd rather just set the Src to the appropriate XML file.
I am of course running everything at the server so I don't understand why the update isn't happening.
Any guesses?
:confused: :confused: :confused: