%@ Page Language="VB" ResponseEncoding="iso-8859-1" Debug="true" validateRequest="false" %> <%@ Register TagPrefix="Rico" Assembly="Rico" NameSpace="Rico" %>
This example demonstrates a basic, pop-up tree control where the tree nodes are loaded via AJAX. Only one item is selected from the tree at a time. Data is from the Northwind customer table.
(selected customer id)
Rico.onLoad( function() { tree1=new Rico.TreeControl("tree1", "CustTree.asp"); tree1.atLoad(); tree1.returnValue=function(newVal) { Rico.$('TreeValue1').value=newVal; }; });