This question is locked. New answers and comments are not allowed.
Hello,
I'm currently trying to implement a form that contains two TreeView controls where one is with several nodes and another is empty. My goal is to pick one or more nodes and drop them to second TreeView and then post those values in conjunction with all other form fields. I have no problem with drag and drop but posting values is somewhat a mystery to me. If I put TreeView control in a form and I post it with simple submit button (no javascript) I see a really interesting form parameters posted:
...TissueAndOrganSelectionTypeId=&itemValue=1&itemValue=2&itemValue=6&itemValue=7...
As you can see here there is several strange "itemValue" parameters. After bit of diging I found that these itemValue items is actually TreeView nodes. Now that's bit odd. Not only there is multiple values with same name but also there is no TreeView identifier.
Questions: How can I identify to which TreeView control these values belong? Is it possible to prevent TreeView, which is inside form, from posting values?
My current assumption is that there is no support for this kind of funcionality.
I'm currently trying to implement a form that contains two TreeView controls where one is with several nodes and another is empty. My goal is to pick one or more nodes and drop them to second TreeView and then post those values in conjunction with all other form fields. I have no problem with drag and drop but posting values is somewhat a mystery to me. If I put TreeView control in a form and I post it with simple submit button (no javascript) I see a really interesting form parameters posted:
...TissueAndOrganSelectionTypeId=&itemValue=1&itemValue=2&itemValue=6&itemValue=7...
As you can see here there is several strange "itemValue" parameters. After bit of diging I found that these itemValue items is actually TreeView nodes. Now that's bit odd. Not only there is multiple values with same name but also there is no TreeView identifier.
Questions: How can I identify to which TreeView control these values belong? Is it possible to prevent TreeView, which is inside form, from posting values?
My current assumption is that there is no support for this kind of funcionality.