Skip to main content
Email Password   helpLost your password?
  • Download source files - 16 Kb
  • Sample Image - TreeControl.jpg

    The project is a simple Tree Control created using ASP. This is first version that offers only display feature, but in the next version the user will be able to add, edit and delete nodes.

    The Tree Control structure is stored in an access database. The TreeContent table has following columns:

  • IDNode – number, is the node ID and it not be duplicated.
  • IDParentNode – number, is the ID parent node.
  • NodeCaption – string, node caption that will be displayed in the page.
  • NodeType – string, is type of node. Can be one from two valid values: F – folder, I – item. If it contains another value then the node will be folder (F).
  • NodeAction – string, is node action. Is available only for items node, if the node is folder then it has only one action – expand tree. i.e. for node action: http://www.microsoft.com, javascript:alert("Test"), mailto:iulian_iuga@yahoo.com.
  • The Tree Control can be expanded only to one branch. So, you must modify the path for the database or create a DNS for database connection in the TreeWork.asp file:

     // ' Here YOU MUST change the database path, or create a DSN
    
     // Const cstrConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=D:\Iulian\TestTree\testtree.mdb"
    
    

    Thanks again and enjoy ...

    You must Sign In to use this message board.
     
     
    Per page   
     FirstPrevNext
    GeneralMulti-Column TreeView Pin
    Jim Brooks
    11:47 3 Nov '07  
    Generalreply immediately my mail Pin
    lingeswararaj.s
    23:46 3 Dec '06  
    GeneralA Tree Control using ASP Pin
    odiebaby
    20:33 15 Mar '06  
    GeneralPretty good! Pin
    deepakjha
    2:48 13 Jan '05  
    GeneralRe: Pretty good! Pin
    anu_dreams
    4:48 9 Jun '05  
    GeneralError Message Pin
    acpt
    19:41 15 Dec '04  
    GeneralRe: Error Message Pin
    Iulian Iuga
    2:13 7 Jan '05  
    GeneralRe: Error Message Pin
    anu_dreams
    4:50 9 Jun '05  
    GeneralHow to create a tree with infinite no of child Pin
    percyvimal
    0:30 18 Mar '04  
    Generalcode does not work Pin
    ramyamn
    0:22 30 Dec '03  
    GeneralExcellent control Pin
    AveryH
    23:54 13 Nov '03  
    GeneralError, general error. Watch the code! (1.5) Pin
    Iulian Iuga
    8:42 3 Nov '03  
    GeneralRe: Error, general error. Watch the code! (1.5) Pin
    percyvimal
    17:56 11 Mar '04  
    Generalyour code is not work Pin
    Himadrish Laha
    2:07 23 Sep '03  
    GeneralError, general error. Pin
    chungwong
    10:43 16 Jun '03  
    GeneralRe: Error, general error. Pin
    Iulian Iuga
    21:37 16 Jun '03  
    GeneralTree should remain always expanded Pin
    vinod (India)
    0:12 29 May '03  
    GeneralError Page Pin
    Anonymous
    19:48 18 Dec '02  
    GeneralRe: Error Page Pin
    Iulian Iuga
    22:43 18 Dec '02  
    GeneralRe: Error Page Pin
    shekhar_shah2000
    7:15 30 Jan '03  
    Generaliam also getting the same error 1.5 please help Pin
    rahil
    10:42 18 Aug '03  
    GeneralRe: iam also getting the same error 1.5 please help Pin
    Iulian Iuga
    2:45 1 Sep '03  
    Generaliam also getting the same error 1.5 please help Pin
    emmanuelconstant
    7:15 22 Oct '03  
    GeneralRe: iam also getting the same error 1.5 please help Pin
    bunso
    15:00 24 Oct '03  
    Generaltfrtrt Pin
    Anonymous
    21:01 4 Dec '02  


    Last Updated 15 May 2000 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009