Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Treeview - set selected node programmatically?

Reply
Thread Tools

Treeview - set selected node programmatically?

 
 
JJ
Guest
Posts: n/a
 
      11-06-2006
Is it possible to set the selected node programmatically rather than only
via a user clicking on a node?

JJ


 
Reply With Quote
 
 
 
 
JJ
Guest
Posts: n/a
 
      11-06-2006
OK I found it:
treenode.Selected = true.

Got confused as Treeview.SelectedNode is a read only property.
JJ
"JJ" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible to set the selected node programmatically rather than only
> via a user clicking on a node?
>
> JJ
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set selected node in Treeview control in ASP:NET 2.0 ? Anyone know this ? jesper_lofgren@yahoo.se ASP .Net 2 09-02-2012 07:37 AM
xsl variable $node/text() but $node can non-node-set help! Tjerk Wolterink XML 2 08-24-2006 03:28 AM
How to set the node indent property between the parent node and the leaf node viveknatani@gmail.com ASP .Net 0 02-13-2006 07:11 PM
how to create a node set of elements through C++ code while executing a style sheet and process the created node set. pvssvikas@gmail.com XML 0 01-25-2006 12:48 PM
Treeview questions - how to set set start node and how to catch click event Alan Silver ASP .Net 0 12-21-2005 10:40 AM



Advertisments