How to use Tree View Control?
pls send me with Example
Thanks&Regs
Magesh
Tree View Control
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
SenthilkumarRank #387 · 6.5K pointsPosted Mar 16, 2012, 11:50 PM EDT
Treeview is web server control which is used to display the hierarchical data. It can be like file directories structure. It will have something like Root, parent and node.
<asp:TreeView ID="MyTreeView" Runat="server"> <Nodes> <asp:TreeNode Value="Child1" Expanded="True" Text="1"> <asp:TreeNode Value="Grandchild1" Text="A" /> <asp:TreeNode Value="Grandchild2" Text="B" /> </asp:TreeNode> <asp:TreeNode Value="Child2" Text="2" /> <asp:TreeNode Value="Child3" Expanded="True" Text="3"> <asp:TreeNode Value="Grandchild1" Text="A" /> </asp:TreeNode> </Nodes> </asp:TreeView>You can find more information on MSDN
http://msdn.microsoft.com/en-us/library/e8z5184w(v=vs.80).aspx
Gohil JayendrasinhRank #489 · 5K pointsPosted Mar 17, 2012, 2:54 AM EDT
1)ASP.NET c#
http://www.c-sharpcorner.com/uploadfile/prathore/treeview-in-Asp-Net/
http://www.c-sharpcorner.com/UploadFile/skumaar_mca/tree-view-control-with-an-example/
2)Using XML
http://www.c-sharpcorner.com/uploadfile/manishkdwivedi/binding-the-treeview-control-to-xml-data/
3)Using jQuery
http://programmingsolution.net/useful-js/jquery-treeview.php
http://docs.jquery.com/Plugins/Treeview/treeview
4)ASP.NET jQuery
http://www.codeproject.com/Articles/35958/Create-a-jQuery-Context-Menu-for-Treeview
If it's helpful for you then please check Accepted Asnwers