Last post Sep 20, 2005 11:52 AM by bmains
Sep 20, 2005 11:52 AM|bmains|LINK
For a future version of .NET, I was wondering why the TreeView controls in web and windows are different? For example, the TreeNode in ASP.NET has a ChildNodes collection for child nodes, whereas the windows version has a Nodes collection (which is more frequently
used). But in ASP.NET that varies from the TreeView control which has it named Nodes, not ChildNodes. In addition, having an add method that accepts more than just a TreeNode for the ASP.NET control:
TreeNode.Nodes.Add(text as string)
overload would be desirable. Am I correct in that this doesn't exist?