Velocity Reviews

Velocity Reviews (
-   ASP .Net Web Controls (
-   -   How to expand a treenode (

Mike 02-10-2007 05:53 PM

How to expand a treenode

Is there anyone who can tell me howto expand a treenode in a Treeview
WebControl with the use of scripting. I have found out that selecting a
treenode is done with the "selectedNodeIndex" property of the treeview

MyTreeview.selectedNodeIndex = "0.1"

This property can however only be set if the treenode with the specified
index is expanded. If the treenode is not expanded the result of setting the
property is that the treenode with index "0" is selected.

How can I make sure the specified treenode is expanded before setting the
"selectedNodeIndex" property.

Thanks in advance,

All times are GMT. The time now is 10:16 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.