Groups | Blog | Home
all groups > c# > july 2004 >

c# : TreeView Control in C#


SoKool
7/2/2004 9:33:01 PM
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.

Tamir Khason
7/3/2004 1:32:57 PM
http://www.411asp.net/home/assembly/navigator/treeview?sort=price&order=asc

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "


[quoted text, click to view]
use in ASP .NET or any tutorial that can help me build my own treeview
control.
[quoted text, click to view]

Chua Wen Ching
7/3/2004 7:01:01 PM
Hi there,

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

Some additional information of using Treeview.

http://www.syncfusion.com/FAQ/WinForms/FAQ_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 :)


[quoted text, click to view]
Shailen Sukul
7/3/2004 9:41:01 PM
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


[quoted text, click to view]
Chua Wen Ching
7/4/2004 6:12:03 AM
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/default.asp?url=/library/en-us/dnaspp/html/aspnet-usingtreeviewiewebcontrol.asp

Hope it helps. Good Luck!
--
Regards,
Chua Wen Ching :)


[quoted text, click to view]
Shailen Sukul
7/4/2004 5:49:01 PM
Thanks mate.
That was exactly what I wanted.

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

"Imagination is more important than knowledge." - Einstein


[quoted text, click to view]
AddThis Social Bookmark Button