c# - How to generate a treeview in ASP.NET? -


  1. How to generate a tree view in asp.net?
  2. In my asp.net project, I need a tree view structure, the format below

ASP.NET does one that you can use to show that a Treeview is very similar to display.

If you need the checkbox on each treeview node, but the ShowCheckBoxes attribute in the appropriate settings (i.e. ShowCheckBoxes = "All" / Code >>

About the nodes themselves, you can bind to TreeView for a datasource which is either an XML document Alternatively, you can add the program itself to the code in the code:

  TreeNode tn = new TreeNode (); Tn.Value = "Cities"; TreeView1. Nodes.Add (tn); tn.ChildNodes.Add (New Triode ("Cochin 1")); [etc. etc.]  

There are some other useful links:



Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -