Treeview and checkbox treenode (VB.net)
<%@ Page Language=VB Debug=true %> <%@ Import Namespace="Microsoft.Web.UI.WebControls" %> <%@ Register TagPrefix="IEControls" Namespace="Microsoft.Web.UI.WebControls" Assembly ="Microsoft.Web.UI.WebControls" %> <HTML> <HEAD> <TITLE>Working with TreeNode Controls in a TreeView Control</TITLE> </HEAD> <BODY LEFTMARGIN="40"> <form runat="server"> <IEControls:treeview id="tvBasic" autoselect="True" runat="server"> <IEControls:treenode text="Electronics"> <IEControls:treenode text="A" checkbox="True"/> <IEControls:treenode text="B" checkbox="True"/> <IEControls:treenode Checked text="C" checkbox="True"/> <IEControls:treenode text="D" checkbox="True"/> </IEControls:treenode> </IEControls:treeview> </form> </BODY> </HTML>