473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Working with treeview

After treeview is loaded into the browser I'd like to select a particular
node and expend it programmatically. How can I do that?

Thanks
Nov 18 '05 #1
1 1018
The easiest way is to set the expand property to true on the selected node.
You would need to obtain or set the node first. And then set it's expand
property to true. There are ample examples of this in
microsoft.public*.webcontrols as a starting point.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Mark Goldin" <ma********@comcast.net> wrote in message
news:ev**************@TK2MSFTNGP10.phx.gbl...
After treeview is loaded into the browser I'd like to select a particular
node and expend it programmatically. How can I do that?

Thanks

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Etienne | last post by:
Hi, I have a form containing 2 TreeViews. When I click on a button, items are transfered from the left tree to the right tree, which causes flickering. In order to remove such flickering, I...
0
by: SJ via .NET 247 | last post by:
For some reason, the scrollbars in my treeview component are not working. The scrollable property is set to True. I have the treeview in a panel. Does that make any difference? ...
1
by: Rog | last post by:
Hello, Yesterday I downloaded IEwebcontrols.exe and TreeviewControl.msi from http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnaspp/html/aspnet-...
2
by: mike uk | last post by:
I'm generating a treeview (in asp.net Page_Load event) by adding nodes to a treeview control, and then selecting a single node in the tree using node.Select(). EnableClientScript property is set...
0
by: ada | last post by:
Hi, I had this problem and couldn't find a solution. An ASP .NET treeview ieWebcontrol worked fine in my ASP .NET 1.1 application, but stopped working when installed in a Windows Server 2003...
3
by: Daves | last post by:
is there any documentation out there to find out if and then how I can work with TreeView on client side through jscript? For example I want to change title of nodes and remove without doing...
0
by: Daves | last post by:
I'm sorry for reposting but I've already googled for hours and I see others have asked about this here without getting replies, this is starting to look like some Bermuda phenomenon nobody wants to...
1
by: Daves | last post by:
Sorry folks but I will be reposting this question from 6/5 until someone gives me an answer - the question is very easy and so ought the answer to be. I really need the answer! ------- I'm...
0
by: Zuhaib Hyder | last post by:
TreeView node selection not working with PopulateOnDemand, any idea?? i want to select each node on click... even when any file opens in right frame in response of click on Treeview node on left...
0
by: prpradip | last post by:
In C# I have used TreeView in my Form. In TreeNode editing I have used validation so that if user enter illegal characters and press enter, Error message is shown to user. But when user press Ok...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.