Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I want to show a tree-structure with a treeview-control, which

is a cool thing to do.

 

The first problem is/was: The GUI runs on another machine, so

the data has to be transported via remoting. I want to send

an XmlDocument-Object, but this is not serializable!

No problem, I can convert it to a string an then I send.

 

The second problem is: I want to be able to update a part

of the treeview too! So I must send the path of the selected

treeview-node to the server, and there I must extract the

corresponding node out of the XmlDocument and send it again.

 

I can select this node via SelectNode() or similar. I will get

a XmlNode-Object which holds the data of one node and all

of it's children, if it has some. Now I must convert the XmlNode

into an XmlDocument again, but how?

 

Or does anybody have a better solution for my project?

Greetings,

 

Toni.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...