|
-
May 28th, 2002, 10:42 PM
#1
Need help with treeview web control
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?
-
May 31st, 2002, 11:28 AM
#2
-
May 31st, 2002, 01:51 PM
#3
Ok, for those of you who were wondering, here's the solution:
Code:
tvwMyTree.DataBind()
pjp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|