简体   繁体   中英

Send 3 javascript arrays to c# server side code

I am fetching an XML format data and assigning it to a treeview. The XML Data has an ID attribute attached to it. On client side I am getting all the selected nodes of the treeview. I am able to fetch the name of the node from the control. Now I want to get that ID attribute so that I can send it as a reference ID. How can I get the ID of the selected nodes in JavaScript?

I am using DevExpressTreeView .

window.getSelection().getRangeAt(0).commonAncestorContainer

This help to get the id of selected node.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM