473,288 Members | 1,726 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,288 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 19850
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.