473,398 Members | 2,125 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,398 software developers and data experts.

Building Tree View using C#.NET

I want to generate a tree view using c#.net.The tree view should be similar to the Toolbox of the c # developement enviroment has & it should work similarly.

Just like in case .net enviroment when you click on toolbox particular thing,all the subcomponets of that particular things can be seen.

please let me know how this can be done using C#.


P.S=please help me as my deadline is nearing.please please share whatever knowledg you have.
Mar 13 '07 #1
3 6946
I want to generate a tree view using c#.net.The tree view should be similar to the Toolbox of the c # developement enviroment has & it should work similarly.

Just like in case .net enviroment when you click on toolbox particular thing,all the subcomponets of that particular things can be seen.

please let me know how this can be done using C#.


P.S=please help me as my deadline is nearing.please please share whatever knowledg you have.
please guys help me out
Mar 13 '07 #2
bartonc
6,596 Expert 4TB
please guys help me out
You have much better luck getting help in the .NET Forum. You'll find links to all the software development help forums on TheScripts on the right hand side of the page. Thanks for joining.
Mar 13 '07 #3
baliga
1
I assume you would have multiple levels in your Treeview. In which case, you would first need to get nodes of "Level A" first on FormLoad or any such event. Add them to the treeview and add a "fake / dummy" node so that a plus sign is shown for each node. Then you would need to write a logic in "Before expand" of the tree view to get the nodes whenever a tree node is expanded. Hope that helps.
Apr 30 '07 #4

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

Similar topics

1
by: Max | last post by:
We want to implement assigning permissions to web pages using a tree like view. The text below illustrates what the page would look like. Each of the items in the boxes are types of permissions...
4
by: Jerry Khoo | last post by:
Thanks for the answer, and by the way, i would like to know that in C++, how u create a tree using a recursive envronment. It seems that most people used struct to create a node than, using...
0
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
1
by: Jesper DK | last post by:
Hi, I have docked a tree view to the left on a form. When I start to populate this tree view with nodes, a horizontal scroll box appears in the bottom of the tree view even though thee tree...
4
by: Colin Cashman | last post by:
What's the best way to build a dialog where a listbox on the left side of the dialog determines which set of controls to display on the right side of the dialog (similar to VS.net's Options dialog)?
1
by: Kaye | last post by:
It seems that when I dynamically resize items in a tree-view control, using TVM_SETITEM and the TVITEMEX iIntegral member, things go awry. The window draws properly, but it seems like the RECTs for...
3
by: Alan Silver | last post by:
Hello, I am just looking at the tree view control, which looks very good, but has some apparent limitations. This could easily be my lack of experience with it. Specifically, I have two...
4
by: Henry | last post by:
Does anybody have a real-world sample of buiding a treeview control using data from database tables? All the sample code I have found either builds the treeview manually or uses a file directory...
3
by: gmail | last post by:
Hi Friends, Can any body suggest me on this. I am working on .NET 2005 Frame work 2.0 . I am facing problem using the tree stucture. I created the site map.Now i want use the site map in every...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.