Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

ASP TreeView (Version 2.0)

0.00/5 (No votes)
28 Mar 2005 1  
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:

<!-- #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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here