473,324 Members | 2,124 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,324 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 19853
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.