Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to prepare xml based on the selection of checkboxes on Treeview control. I request can you help me out on this in C# ASP.NET.

Thanks
Mahesh
Posted
Comments
[no name] 30-Aug-10 11:17am    
It will be very nice if you explain with some more detail...
Sandesh M Patil 30-Aug-10 12:02pm    
you want to say that you are trying to create XML based treeview with checkboxes right?

I guess you are trying to build a TreeView based on an XML and you want to put check boxes on the TreeView.

If my assumption is true, then, see This Link[^] to see how to Bind a TreeView from an XML Document.

For showing CheckBox on the TreeView, you just need to add the property ShowCheckBoxes="All"


Also, you can find a lot of TreeView examples Here[^]
 
Share this answer
 
Hi,

Thanks for your response. I am already building the treeview based on the xml. I will select some nodes with using of checkboxes in treeveiw control. When I click the submit button, I need to create a xml based on the cheeked nodes in treeview control

Thanks
Mahesh.
 
Share this answer
 
Comments
Sandesh M Patil 31-Aug-10 7:44am    
Add cooment to Al-Farooque Shubho answer. dont write in answer section.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900