Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree View web control

Status
Not open for further replies.

tbubbs

Programmer
Mar 30, 2001
26
CA
We are attempting to use a treeview control in a framed environment. The multilevel treeview is populated from the code behind vb page coming from a sql database. The treeview exists in the left frame and we wish to populate our body (right) frame with information based on which node is chosen from the tree view. The problem we are experiencing is trying to determine what node has been selected and passing that corresponding id around to our body page.
Any suggestions would be greatly appreciated,
T
 
Hey T,

Here's how we did it:

We have the same setup that you do: frames page, treeview in one, target pane in another, and a sql server database.

We've written code that will create an xml file based on the data in the sql server db. In the table its generated from, we also include things like target (_base, etc.) and a url (what page to show). When the treeview is loaded, it simply binds to the xml file. Voila: which page and where it opens up in is all taken care of.

Hope this helped.
:)

jack
 
jfrost,

In reference to your statement:

We've written code that will create an xml file based on the data in the sql server db. In the table its generated from, we also include things like target (_base, etc.) and a url (what page to show). When the treeview is loaded, it simply binds to the xml file. Voila: which page and where it opens up in is all taken care of.


How would youi feel about posting a sample? I am really into that Viola part :)



PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top