Hi everybody !
As you can see in my post title I try to find a way to have a radconfirm (client side) when the user is selecting (clicking) a node of a radtreeview.
E.G > User is currently on a node called "Employee Example" on right panel I display some informations of the node using a query in database like name, surname ...of the employee the user can edit this and save by clicking a button save, but in case of the user change selecting node and don't push the save button I want to display a radconfirm saying " you've made some changes but you don't save if you continue all changes will be lost" and so the user will have choice to hit "Cancel" (so the right pane don't change) and if he hit "Ok" then postback the right panel and display informations for the new selecting node.using query.
For the moment I use the standard confirm, i also store a value in a hiddenfield, the value of it change by clicking on "Ok" or on "Cancel" and after in code behind I check the value to see if it's need to do the query, or not depending of the user choice, but of course it do posback in any cases that's what I want to change !
I hope you'll understand my issue.
Thanks in advance for reading this
Regards,
Damien
As you can see in my post title I try to find a way to have a radconfirm (client side) when the user is selecting (clicking) a node of a radtreeview.
E.G > User is currently on a node called "Employee Example" on right panel I display some informations of the node using a query in database like name, surname ...of the employee the user can edit this and save by clicking a button save, but in case of the user change selecting node and don't push the save button I want to display a radconfirm saying " you've made some changes but you don't save if you continue all changes will be lost" and so the user will have choice to hit "Cancel" (so the right pane don't change) and if he hit "Ok" then postback the right panel and display informations for the new selecting node.using query.
For the moment I use the standard confirm, i also store a value in a hiddenfield, the value of it change by clicking on "Ok" or on "Cancel" and after in code behind I check the value to see if it's need to do the query, or not depending of the user choice, but of course it do posback in any cases that's what I want to change !
I hope you'll understand my issue.
Thanks in advance for reading this
Regards,
Damien