473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Inserting,Deleting and modyfing TreeNode Xml of Treeview


Hi All,
I'm using the TreView Web Control for my MENU.
And the Menu is populated from an XML file below.
I want a way in which i can manipulate the XML when i want to manage it
without having to open the file all the time.I tried creating an
application in ASP.NET but its difficult getting an exact node to
delete,insert etc b-cos of the XML structure that the control needs..
As anyboy tried doing this or any solutions available..
Thx alot

<TreeNode Text="Human Resources">
<TreeNode Text="Add Employee" NavigateUrl="a.aspx" target=""/>

<TreeNode Text="Forms">

<TreeNode Text="" NavigateUrl="a.aspx" target=""/>
<TreeNode Text="" NavigateUrl="a.aspx" target=""/>
<TreeNode Text="" NavigateUrl="a.aspx" target=""/>
<TreeNode Text="" NavigateUrl="a.aspx" target=""/>
<TreeNode Text="" NavigateUrl="a.aspx" target=""/>
</TreeNode>
</TreeNode>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
0 1596

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: naija naija | last post by:
I have a XML file which is formed ! And its used with a treeView menu control. But the thing is that the TREEVIEW hasn't got a constant hieracrchy structure! which is difficult to Edit,insert or...
5
by: nevin | last post by:
Hi, If I have a TreeView with loads of Nodes and they all have children etc, how do I find the index of a given node when I only know the Text value? If I use TreeView.Nodes.IndexOf(new...
6
by: Craig Lister | last post by:
I have a treeview with a Root, a Contact Type, and a Contact. Like MSN Messenger. Is there a way that I can say something like if treenode.tag is classContact then string Surname =...
0
by: Patrick.O.Ige | last post by:
I have a XML file which is formed ! And its used with a treeView menu control. But the thing is that the TREEVIEW hasn't got a constant hieracrchy structure! which is difficult to Edit,insert or...
3
by: markaelkins | last post by:
Hi. I am trying to enter a variable in the treenodesrc of a treenode. I am basically trying to send an ID variable into sql to return different records. I've searched everywhere and cannot find the...
3
by: tanya foster | last post by:
Hello, I am re-writing a visual basic .net application(visual studio 2003) in an asp.net application(visual studio 2005). The vb.net application relied on a treeview and hence, treenodes. The...
9
by: vincent90152900 | last post by:
How to pop up different text base on the selected TreeNode? I want to pop up different Text base on the selected TreeNode of the TreeView component. So, I create a TreeView and a ModalPopupExtender....
0
by: divya1949 | last post by:
Create a windows c# application which will Read a xml file and populate nodes in the treeview. 1 On selection of treenode display the child nodes of that node in listview control 2. ...
1
by: ntabb | last post by:
Hello All, I have a hashtable of nodes that need to be added to a tree. The hash table's values contain an object that holds the node's Level, Index, and Text. The table keys names of the node. I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.