Click here to Skip to main content
Click here to Skip to main content

ASP TreeView (Version 2.0)

By , 28 Mar 2005
 

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:

<!-- #include virtual="/tree/AspTreeView.asp" --> 

or you can using relative path, just like this:

<!-- #include file=".. /AspTreeView.asp" --> 

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)

About the Author

simonchen.net
Software Developer (Senior) www.likefreelancer.com
China China
Member
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.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionhoooomembershinichii13 Nov '11 - 22:56 
Questionnam dangmembershinichii13 Nov '11 - 22:52 
GeneralgoodmemberMember 110714717 Jun '10 - 22:55 
GeneralProblems with tree adding new node when looping thru databasememberdebra mckinnon12 Mar '08 - 10:31 
GeneralTHXmemberdiky15 Feb '08 - 17:54 
GeneralThank you!memberchanglong1 May '07 - 15:59 
Generalmessages system!memberPhan Thanh Lam6 Mar '07 - 15:13 
GeneralTreeview "Loading....."memberhootsman30 Aug '06 - 21:48 
GeneralRe: Treeview "Loading....."memberstarschen3 Sep '06 - 21:13 
QuestionRe: Treeview "Loading....."memberhootsman3 Sep '06 - 21:38 
AnswerRe: Treeview "Loading....."memberstarschen27 Sep '06 - 14:58 
GeneralRe: Treeview "Loading....."memberAxeliux18 Jan '07 - 8:56 
GeneralHelp Me!memberchunglvcit28 May '06 - 17:53 
GeneralRe: Help Me!memberstarschen8 Aug '06 - 17:15 
Questionwhy show clobber ?memberkimble_wu26 Mar '06 - 16:44 
Generalmove itemsmemberRiccardo Caputi25 Feb '06 - 10:26 
GeneralRe: move itemsmemberstarschen29 Mar '06 - 17:46 
QuestionWhere is the mdb?memberandrefariagomes24 Jun '05 - 6:21 
Generalok..membertheJazzyBrain28 Mar '05 - 4:20 
GeneralRe: ok..memberstarschen29 Mar '05 - 14:10 
GeneralRe: ok..membertheJazzyBrain29 Mar '05 - 23:20 
GeneralRe: ok..memberAxeliux18 Jan '07 - 8:57 
GeneralRe: ok..memberstarschen31 Mar '05 - 1:46 

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

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