From my backend it generate a treeview using a ul/li construction:
However, when I take a look when after init the kendoui treeview, the data-uid's are all randomly recreated.
From there, I took a different approach and used the id attribute for the identifiying the node. However, when a node is drag & dropped the resulting node does not contain the id. Also when custom attributes are used for this purposes the Id of the node is gone.
This leave the treeview completely useless, since postingback to the server is impossible.
So the question is, howto preserve the id's??
<
ul
id
=
"treeView"
>
<
li
data-uid
=
"8f04cb75-1a2a-4c9b-95c6-4a44d963505c"
data-parent
=
""
>Root
<
ul
>
<
li
data-uid
=
"64ca06a9-72b3-4444-b951-f46e0378b26b"
data-parent
=
"8f04cb75-1a2a-4c9b-95c6-4a44d963505c"
">1.1
<
ul
</li>
</
ul
>
However, when I take a look when after init the kendoui treeview, the data-uid's are all randomly recreated.
From there, I took a different approach and used the id attribute for the identifiying the node. However, when a node is drag & dropped the resulting node does not contain the id. Also when custom attributes are used for this purposes the Id of the node is gone.
This leave the treeview completely useless, since postingback to the server is impossible.
So the question is, howto preserve the id's??