Web Site

 General Tree

  • English
  • 中文
Download ASTreeView      Contact:  Send an email or Leave a message      Common Assembly Version: 1.1.1.3
Basic functions of ASTreeView, you may enable/disable specific function by clicking the button to see effects.
CONSOLE
aspx code
<ct:ASTreeView ID="astvMyTree" 
	runat="server"
	BasePath="~/Javascript/astreeview/"
	DataTableRootNodeValue="0"
	EnableRoot="false" 
	EnableNodeSelection="false" 
	EnableCheckbox="false" 
	EnableDragDrop="false" 
	EnableTreeLines="false"
	EnableNodeIcon="true"
	EnableCustomizedNodeIcon="true"
	EnableContextMenu="false"
	EnableDebugMode="false"/>
cs code
this.astvMyTree.RootNode
	.AppendChild( new ASTreeViewLinkNode( "Accor", "http://www.accor.com", "_self", "Goto Accor", "~/Images/demoIcons/accor.gif" )
					.AppendChild( new ASTreeViewLinkNode( "Accor Services", "http://www.accorservices.com", "_self", "Goto Accor Services", "~/Images/demoIcons/accorservices.gif" ) )
					.AppendChild( new ASTreeViewLinkNode( "Accor Hospitality", "http://www.accorhotels.com", "_self", "Goto Accor Hospitality", "~/Images/demoIcons/accorhospitality.gif" ) )
	)
	.AppendChild( new ASTreeViewLinkNode( "Google", "http://www.google.com", "_self", "Goto Google", "~/Images/demoIcons/google.gif" )
					.AppendChild( new ASTreeViewLinkNode( "Picasa", "http://picasaweb.google.com", "_self", "Goto Picasa", "~/Images/demoIcons/picasa.gif" ) )
	)
	.AppendChild( new ASTreeViewLinkNode( "Microsoft", "http://www.microsoft.com", "_self", "Goto Microsoft", "~/Images/demoIcons/microsoft.gif" )
					.AppendChild( new ASTreeViewLinkNode( "MSDN", "http://www.msdn.com", "_self", "Goto MSDN", "~/Images/demoIcons/msdn.gif" ) )
	)
	.AppendChild( new ASTreeViewLinkNode( "Amazon", "http://www.amazon.com", "_self", "Goto Amazon", "~/Images/demoIcons/amazon.gif" )
	);