APNSoft - Web Controls, components for ASP.NET Home Help Center Contact Us
About UsProductsDownloadsPurchase
Support

TreeView
Version 3.0



What's New
Overview
Features
Reference Book
Licensing
Support



Populating with Data
Layout and Behavior
Design
Programming





Version 3.0   06/02/2008

  • Server-side API
    APNSoft TreeView now provides an extremely rich and powerful server-side API allowing developer to add, remove or edit TreeView elements and element collections. TreeView includes two new classes TreeViewElement and TreeViewElementCollection.
    For a complete list of the server-side methods and properties, please review this section. This example shows new Server-side API in action.

  • Check boxes
    Check boxes allow the user to select more than one tree node. Each item has three potential states: checked, partially-checked (not all subitems are checked) and unchecked. Checking off an item automatically checks off all subitems. The property CheckBoxes specifies the value indicating whether check boxes are displayed next to the tree nodes. This example demonstrates using the check boxes in action.

  • The href attribute can include a JavaScript call
    TreeView item can now include a JavaScript call in the href attribute. Also it can include special active blocks $TreeViewID$ and $ItemID$, instead of which data is inserted.

    Example:

    <item title="JavaScript" href="javascript:ItemClick('$TreeViewID$','$ItemID$');" />
    

    JavaScript function:

    function ItemClick(TreeViewID,ItemID){
        alert('TreeViewID='+TreeViewID+',ItemID='+ItemID);
    };
    


  • Support for Web.sitemap
    The "Web.sitemap" file can be used as TreeView structure. Use the StructureFileURL property to set the TreeView structure.

  • New property ShowStartingNode
    This property specifies a value indicating whether the TreeView renders the starting node.

  • New properties for client-side operations

    • ClientSideOnSelect - specifies the name of the client-side function to be called when an item is selected.
    • ClientSideOnDeselect - specifies the name of the client-side function to be called when an item is deselected.
    • ClientSideOnExpand - specifies the name of the client-side function to be called when an item is expanded.
    • ClientSideOnCollapse - specifies the name of the client-side function to be called when an item is collapsed.
    • ClientSideOnCheck - specifies the name of the client-side function to be called when an item is checked.
    • ClientSideOnUnCheck - specifies the name of the client-side function to be called when an item is unchecked.

  • Structure checking
    APNSoft TreeView now checks the structure for duplicated IDs and wrong-referenced elements in the database table with TreeView structure.

  • Fixed bugs

    • Fixed a bug that cause the "The HTTP verb POST used to access path '/' is not allowed." message.
    • Fixed a bug that causes the "Invalid postback or callback argument." message.
    • Several minor bugs fixed.



Version 2.0   11/27/2006

  • Data Binding
    The source of the data can be bound directly to the TreeView. Simply set the DataSource property and call the DataBind() method. TreeView supports building multiple levels of hierarchy (the ID/ParentID model) from a single table in the data source.

  • New DurationExpand and DurationCollapse properties
    The DurationExpand property specifies the duration (in milliseconds) of the expand animation. The DurationCollapse property specifies the duration of the collapse animation.

  • Fixed bugs

    • Fixed the bug with icons if TreeView uses the property ExpandSinglePath="True"
    • Fixed the bug which blocked the ability to use the "~" symbol in all modes. This symbol is an abbreviation for the home directory of web application. Tilde can be used in property values, XML Structure and CSS Style.

  • Small code improvements
    Now TreeView more carefully controls system resources and gives the best performance results.



Version 1.5   10/21/2006

  • AJAX-based Load On Demand
    APNSoft TreeView now supports AJAX-based load on demand. The LoadOnDemand property specifies whether child nodes will be populated on demand without postback to the server.

  • iconOpen node attribute
    The iconOpen attribute allows to define the icon for expanded node.

  • Health Checking
    APNSoft TreeView now uses client-side JavaScript messages which allow developers control the TreeView status. For example, if you use a new TreeView version with the old JS file, you will see a warning. This feature can be switched off by using the WarningsEnabled property.



Version 1.0   06/28/2006

  • Initial release



  © 2003-2008 APNSoft. All rights reserved. Table of Contents   Terms of use   Contact Us   Help Center