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

Binding Childnodes in the nodeexpand event of treeview

Status
Not open for further replies.

vaichi123

Programmer
Dec 2, 2006
20
US
I am using a thirdparty treeview control on my webpage. I am binding the root nodes in the page_load however I need to bind the child nodes in the nodeexpand event of the treeview, I need to create a datarelation between the parent and the child nodes in order to be able to associate child nodes with the parent nodes. How do i pass the parentnodes to the node expand event and ultimately inside the datarelation. I am getting the child nodes in the dataset by creating a new connection to the database. The parent nodes are coming from a different datasource altogether in the page_load. Is there some other way to bind child nodes to parent nodes?

I want to be able to create a treeview with child nodes binding to the parent nodes. I would like to have any suggestions to make this work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top