Hey all,
I would like to know, if it's possible to click on a node with an OnNodeClick attribute, but without a page reload.
My situation:
I have a treeview with multiple nodes and a label for some text.
Now I want to click on a node and my CodeBehind c#-code should work with the value of the node I clicked.
After it finished the work, I want to get a text in my label and the treeview should be at the same position as it was, when I clicked.
But when I click a node the page reloads. The CodeBehind, will be executed and my label shows different text, but my treeview is collapsed, because the paged reloaded.
So, is there any way to block the reload?
Greetz
Lucas
I would like to know, if it's possible to click on a node with an OnNodeClick attribute, but without a page reload.
My situation:
I have a treeview with multiple nodes and a label for some text.
Now I want to click on a node and my CodeBehind c#-code should work with the value of the node I clicked.
After it finished the work, I want to get a text in my label and the treeview should be at the same position as it was, when I clicked.
But when I click a node the page reloads. The CodeBehind, will be executed and my label shows different text, but my treeview is collapsed, because the paged reloaded.
So, is there any way to block the reload?
Greetz
Lucas