473,387 Members | 1,440 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,387 software developers and data experts.

Horizontal dividing line between root nodes in a treeview?

Hi -

Anyone know of any way to do this? I just need to add a line to as an extra visual design element to separate sections in my navigation. Is there some way to extend this kind of control?

I don't want to go through an enormous hassle just to add a line, but there will be some hassle required if I have to talk the designer out of this. :)

Would be handy to be able to skin and customize these kinds of controls more generally with more than just CSS. Is this possible? Can anyone point me to an article with sample code?

Thanks!
Oct 5 '07 #1
2 1692
kenobewan
4,871 Expert 4TB
This should be possible with css, giving it an id and a style. There are plenty of css resources around. HTH.
Oct 5 '07 #2
wouldn't a TreeView have just one root node? Is breaking up the Navigation Menu into different TreeViews an option?
Oct 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: alanrn | last post by:
I am using a TreeView to display the hierarchy of a strongly-typed collection (inherited from CollectionBase). The order of the nodes in the TreeView is strictly tied to the order in which they...
8
by: Duffey, Kevin | last post by:
We are looking for information regarding any capabilities of PostgreSQL in regards to scalability. Ideally we want to be able to scale in both directions. What sort of solutions are out there for...
3
by: someone | last post by:
Here is my code: TreeNodeCollection nodes = tvwFolders.Nodes; if (nodes.Count > 0) { // Select the root node tvwFolders.SelectedNode = nodes; } I hope there is an easier way. I looked at...
0
by: Ryan | last post by:
I'm doing a recursive function that receives a TreeNode object. It's traversing an XMLDocument and putting the data in a TreeView. The problem is that to start out, I only have a TreeView object....
2
by: Benny Raymond | last post by:
Does anyone know what causes a treeview to sometimes start with a horizontal scrollbar that has no reason to be there, and will not go away until you size into the nodes and then back out? ...
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
0
by: Paulers | last post by:
Hello, I am trying to add sub items to a unique root node but it seems that it is duplicating the root node instead of placing subnode under it. Here is my code. Is ther anyone who can show me...
0
by: jotaefe | last post by:
Hi, Is it possible to hide the root node in a treeview without editing the original xml? To populate the xml file, I am using this functions: private void PopulateTree(TreeView...
1
by: hchintapalli | last post by:
Hi, How can I make root node of a TreeView control to have different expanded and collapsed images from the rest of the tree? If I use "ExpandImageUrl" and "CollapseImageUrl" it applies to all...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.