treeview control

G

Guest

Hi
I want to use the tree view control.
I downloaded the IE Web controls from net.
I load the tree nodes dynamically wirh value from database.
I was not able to handle the clickl event of a node selected.
When a node is clicked i don't want the page to refresh.
Do I nedd to use java script?
Is there any other alternative?
Thanks
Priya
 
G

Guest

Hi, thanks for the reply. There is a tight coupling between my database and
my tree. I refresh the tree from the database when I do a complex operation
such as delete a subtree or move a subtree from one location in the tree to
another.

When I repaint the tree from my database datatable, I store the fullpath for
every node created in my datatable. So after refreshing the tree, I know the
full path of the node I want to go back to. I am just confused about how to
use the tree.selectednode command to actually select the node.

If I know the full path of the node I want to select programatically, how
can I command it to be selected?

What is the format of the tree.selectednode command to go to a particular
fullpath position in the refreshed tree??

Fred
 
N

naija naija

Priya,
Try posting your question to:-
microsoft.public.dotnet.framework.aspnet.webcontrols
I used the treeview for 2 menus one populated with XML(statically) and
the other from Database(dynamically).
And i never had a problem of the page refreshing!
Do you have another page u use the menu with containing Jscript?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top