Click here to Skip to main content
11,430,274 members (73,107 online)
Click here to Skip to main content

ASP TreeView (Version 2.0)

, 28 Mar 2005 GPL3
Rate this:
Please Sign up or sign in to vote.
ASP TreeView is a advanced ASP control that's base on Server side / Client side technique. server side: Asp + JScript, client side: Jscript + HTML.

If you think the ASP TreeView won't too bad that immediately Vote for it!

Sample Image - asptreeview.gif

Introduction

ASP TreeView is an advanced TreeView control that's base on ASP technique. server side: Asp + JScript, client side: JScript + HTML.

The picture below shows Asp TreeView's work flow and running elements:

workflow

Compatibility

Client side: IE5+, Gecko browser (Mozilla, Firefox, NetScape)

Server side : IIS4.0 , ASP3.0+

Features

  • compatibility IE5+, Gecko browser (Mozilla, Firefox, NetScape)
  • server side: Access2000 database - tree.mdb to be create automatically (if tree.mdb nonexistent)
    --- the function need MDAC2.0+
  • support check boxes
  • tree item moving, dragging, dropping accessible!
  • using XMLHTTP technic to refresh tree which's asynchronous
  • Asp TreeView's user interface and functions customization
  • HTML codes as tree item's text is acceptable (except "SPAN" and "DIV")
  • tree item expand or collapse don't be interactive mode

How to use ASP TreeView?

you will need extract download source files and locate the directory -- "Samples", thereinto have a sample page -- "treedemo.asp" to offer reference:

To include Asp TreeView inside sample page. It is quite easy to use and configure.

Step 1:

Suppose that the Asp TreeView is installed the /Tree/ path of your web site. you need include AspTreeView.asp server side scripts inside the <BODY> of sample page, just like this:

<!--<span class="code-comment"> #include virtual="/tree/AspTreeView.asp" --></span> 

or you can using relative path, just like this:

<!--<span class="code-comment"> #include file=".. /AspTreeView.asp" --></span> 

Step 2:

Modify inside parameter BasePath of config.asp:

BasePath = "/Tree/"

Remarks:

To avoid using relative paths. It is preferable to set the base path starting from the root (/). Always finish the path with a slash (/).

Configurable File: config.asp

  • path configure :suppose that the Asp TreeView is installed the /Tree/ path of your web site,

    modify inside parameter BasePath of config.asp:

    BasePath = "/Tree/"
  • ASP TreeView user interface:width, height, background etc.
  • ASP TreeView performance configure: enabled / disabled function customization, such as tree item be drag, drop, delete, rename.
  • ASP TreeView runtime configure:setting parameter value - IsVisibleMode
    true: All the tree items are visible while ASP TreeView have been initialized
    false: The belonging to first level items for root item are visible while ASP TreeView have been initialized

Feedback

The software has still exist unexpected errors, welcome to test it, finding out errors to E-mail: chenxinyi1978@hotmail.com

You are allowed to use the ASP TreeView that's free, the ASP TreeView is only for personal and nonprofit organization, you can't use commercially that's in face of legal. to use commercially to purchase licensed through visit: http://www.geekclaw.com. Now, cheap for the ASP TreeView, a commercial license need pay $3.99.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

Share

About the Author

simonchen.net
Software Developer (Senior) www.likefreelancer.com
China China
I was borned at Jianghan district, Qianjiang Hubei province of China, and always pursuiting his dream in Beijing.

Last century 1996, I got a learning machine called Subor(1.8MHZ CPU, 2k memory) that it can be connected to TV looked like computer emulater, the machine is really good for learning G-Basic, and Wubi inputs, after soon, A real PC was presented to me, the core was 586 pentium MMX, really graceful! in that mean-time, I practiced Javascript language and dynamic HTML on that PC, of course, including many famouse classic games. also, I have further self-studied professional electronic courses via Wuhan University.

A great starting point was in 2001, I went to a software firm and did deepth experience in real software development, learned C/C++ and ASP(VBscript).

In 2005, I moved to another creative firm, major responsibility is to develop windows GUI based on MFC framework, and early touched Mac PowerPC and Macbook for migrating soft. I'm still there and developing a great social web application.

In 2007, I have married with my wife and had a very cute daughter she's close to 3 old now. At all available time, I has been activating on freelancer.com and doing lots of amazing jobs.

Comments and Discussions

 
Questionhoooo Pin
shinichii13-Nov-11 23:56
membershinichii13-Nov-11 23:56 
Questionnam dang Pin
shinichii13-Nov-11 23:52
membershinichii13-Nov-11 23:52 
Generalgood Pin
Member 110714717-Jun-10 23:55
memberMember 110714717-Jun-10 23:55 
GeneralProblems with tree adding new node when looping thru database Pin
debra mckinnon12-Mar-08 11:31
memberdebra mckinnon12-Mar-08 11:31 
GeneralTHX Pin
diky15-Feb-08 18:54
memberdiky15-Feb-08 18:54 
GeneralThank you! Pin
changlong1-May-07 16:59
memberchanglong1-May-07 16:59 
Generalmessages system! Pin
Phan Thanh Lam6-Mar-07 16:13
memberPhan Thanh Lam6-Mar-07 16:13 
GeneralTreeview "Loading....." Pin
hootsman30-Aug-06 22:48
memberhootsman30-Aug-06 22:48 
GeneralRe: Treeview "Loading....." Pin
starschen3-Sep-06 22:13
memberstarschen3-Sep-06 22:13 
QuestionRe: Treeview "Loading....." Pin
hootsman3-Sep-06 22:38
memberhootsman3-Sep-06 22:38 
AnswerRe: Treeview "Loading....." Pin
starschen27-Sep-06 15:58
memberstarschen27-Sep-06 15:58 
GeneralRe: Treeview "Loading....." Pin
Axeliux18-Jan-07 9:56
memberAxeliux18-Jan-07 9:56 
GeneralHelp Me! Pin
chunglvcit28-May-06 18:53
memberchunglvcit28-May-06 18:53 
GeneralRe: Help Me! Pin
starschen8-Aug-06 18:15
memberstarschen8-Aug-06 18:15 
Questionwhy show clobber ? Pin
kimble_wu26-Mar-06 17:44
memberkimble_wu26-Mar-06 17:44 
Generalmove items Pin
Riccardo Caputi25-Feb-06 11:26
memberRiccardo Caputi25-Feb-06 11:26 
GeneralRe: move items Pin
starschen29-Mar-06 18:46
memberstarschen29-Mar-06 18:46 
QuestionWhere is the mdb? Pin
andrefariagomes24-Jun-05 7:21
memberandrefariagomes24-Jun-05 7:21 
Generalok.. Pin
theJazzyBrain28-Mar-05 5:20
membertheJazzyBrain28-Mar-05 5:20 
GeneralRe: ok.. Pin
starschen29-Mar-05 15:10
memberstarschen29-Mar-05 15:10 
GeneralRe: ok.. Pin
theJazzyBrain30-Mar-05 0:20
membertheJazzyBrain30-Mar-05 0:20 
GeneralRe: ok.. Pin
Axeliux18-Jan-07 9:57
memberAxeliux18-Jan-07 9:57 
GeneralRe: ok.. Pin
starschen31-Mar-05 2:46
memberstarschen31-Mar-05 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150428.2 | Last Updated 28 Mar 2005
Article Copyright 2004 by simonchen.net
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid