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

TreeView Control in C#

Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.

I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.

Many thanks.
Nov 16 '05 #1
5 19856
http://www.411asp.net/home/assembly/...rice&order=asc

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"SoKool" <So****@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview
control.
I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.
Many thanks.

Nov 16 '05 #2
Hi there,

It won't be that hard to create a custom control.

Some additional information of using Treeview.

http://www.syncfusion.com/FAQ/WinFor...c91c.asp#q617q

create a user control and inherit from System.Windows.Forms.TreeView

example,

class treeViewUserControl : System.Windows.Forms.TreeView
{
// get the sql table data and past in here.. or whatever.
}

Correct me if i am wrong. Cheers.
--
Regards,
Chua Wen Ching :)
"SoKool" wrote:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.

I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.

Many thanks.

Nov 16 '05 #3
Thanks for the answer.

You said that TreeView can be built on the Windows.Forms.TreeView base class.
Does that mean that I will be able to use that in ASP. NET.

What I mean to ask is that, what are the extra requirements for an ASP.Net treeview control, over a standard windows treeview control.

Thanks
Shailen S
"Chua Wen Ching" wrote:
Hi there,

It won't be that hard to create a custom control.

Some additional information of using Treeview.

http://www.syncfusion.com/FAQ/WinFor...c91c.asp#q617q

create a user control and inherit from System.Windows.Forms.TreeView

example,

class treeViewUserControl : System.Windows.Forms.TreeView
{
// get the sql table data and past in here.. or whatever.
}

Correct me if i am wrong. Cheers.
--
Regards,
Chua Wen Ching :)
"SoKool" wrote:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.

I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.

Many thanks.

Nov 16 '05 #4
Hi Shailen Sukul,

Oops. I am too used with windows form development. Okay, there is an article on asp.net treeview web control.

Check this out:

http://msdn.microsoft.com/library/de...webcontrol.asp

Hope it helps. Good Luck!
--
Regards,
Chua Wen Ching :)
"Shailen Sukul" wrote:
Thanks for the answer.

You said that TreeView can be built on the Windows.Forms.TreeView base class.
Does that mean that I will be able to use that in ASP. NET.

What I mean to ask is that, what are the extra requirements for an ASP.Net treeview control, over a standard windows treeview control.

Thanks
Shailen S
"Chua Wen Ching" wrote:
Hi there,

It won't be that hard to create a custom control.

Some additional information of using Treeview.

http://www.syncfusion.com/FAQ/WinFor...c91c.asp#q617q

create a user control and inherit from System.Windows.Forms.TreeView

example,

class treeViewUserControl : System.Windows.Forms.TreeView
{
// get the sql table data and past in here.. or whatever.
}

Correct me if i am wrong. Cheers.
--
Regards,
Chua Wen Ching :)
"SoKool" wrote:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.

I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.

Many thanks.

Nov 16 '05 #5
Thanks mate.
That was exactly what I wanted.

Cheers
----------------
Shailen Sukul
BSc, Mcsd, Mcad

"Imagination is more important than knowledge." - Einstein
"Chua Wen Ching" wrote:
Hi Shailen Sukul,

Oops. I am too used with windows form development. Okay, there is an article on asp.net treeview web control.

Check this out:

http://msdn.microsoft.com/library/de...webcontrol.asp

Hope it helps. Good Luck!
--
Regards,
Chua Wen Ching :)
"Shailen Sukul" wrote:
Thanks for the answer.

You said that TreeView can be built on the Windows.Forms.TreeView base class.
Does that mean that I will be able to use that in ASP. NET.

What I mean to ask is that, what are the extra requirements for an ASP.Net treeview control, over a standard windows treeview control.

Thanks
Shailen S
"Chua Wen Ching" wrote:
Hi there,

It won't be that hard to create a custom control.

Some additional information of using Treeview.

http://www.syncfusion.com/FAQ/WinFor...c91c.asp#q617q

create a user control and inherit from System.Windows.Forms.TreeView

example,

class treeViewUserControl : System.Windows.Forms.TreeView
{
// get the sql table data and past in here.. or whatever.
}

Correct me if i am wrong. Cheers.
--
Regards,
Chua Wen Ching :)
"SoKool" wrote:

> Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control.
>
> I intend to use a treeview to generate a dynamic menu by collating data from a Sql Server Table.
>
> Many thanks.

Nov 16 '05 #6

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

Similar topics

8
by: Hrvoje Voda | last post by:
What is wrong in this code? private void tree_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode == Keys.Enter ) {
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
4
by: Ben Coats | last post by:
Hey, I'm trying to find code for an Explorer-style Directory ComboBox. (You know, it display "Desktop", "My Computer", all drives, etc., but it has a treeview control inside the combobox so that...
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...
1
by: musosdev | last post by:
Hi guys I was using the Microsoft.Web.UI.WebControls extra namespace in my application to provide me with a TreeView control. I was using specifically ..GetNodeFromIndex(), SelectedNodeIndex and...
2
by: rolf.oltmans | last post by:
Hello all, I need to place treeview control in Grid control. I need to place it in a grid because I need to show calendar against every node. Is placing a treeview in grid possible? If I need...
1
by: doemon | last post by:
Hi, I'm working on a pagination control and I need to dynamically rerender a treeview to display the next set of nodes depending on which page we're on. For example, page 1 will dispaly only...
0
by: noneya22 | last post by:
I want to use a TreeView control as a one-level, vertical navigation menu. I'm using this control currently with a SiteMapDataSource and .sitemap file. I've written code that associates an image...
0
by: jiing | last post by:
Hi all, I want to use sting(the same as Node.Text) to judge if a node exists in TreeView. I've tried several ways, but seems all failed. could anybody help me? Thanks in advance. //My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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
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
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.