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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tree structure in ASP

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
I have table with following structure :

DEPARTMENT, PARENT_DEPARTMENT, SEQUENCE
---------------------------------------------------------------------------
IT, null, 1
Software, IT, 1
Testing, IT, 2

HR,null,2
Recruiting, HR, 1
Legal, HR, 2

This information I’m displaying in ASP using tree structure silimar to shown in

I’m very much new to this type of tree logic.
If you guys used this type of logic in your application I have few questions :

01. Is it possible to display department and sequence number in a text box when we click on any department ( for example when we click on Testing the value “Testing” should appear in text box 1 and value “2” should appear in text box 2.

02. Is it possible that the tree expands fully when we click on any top parent. Means when I click on “HR” it should displays all the heirarchy/ sub heirarchy under “HR”

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top