hi
i am using radtoolbar with 2 buttons to close and save the page values. I used one client side function to ask confirmation to the user when save button pressed. For this i added attributes to the onclick event. but when i click cancel in the confirm box also the page postbak or the button function working.
I cant call client side event of radtoolbar because i need to pass the confirm mesage from the code behind. So how can i achieve using this way
this is my javascript function please tell me how can i restrict to call my code behind funtion
i am using radtoolbar with 2 buttons to close and save the page values. I used one client side function to ask confirmation to the user when save button pressed. For this i added attributes to the onclick event. but when i click cancel in the confirm box also the page postbak or the button function working.
I cant call client side event of radtoolbar because i need to pass the confirm mesage from the code behind. So how can i achieve using this way
| function getConfirm(message) { |
| if (confirm(message) != true) { |
| return false; |
| } |
| return true; |
| } |
this is my javascript function please tell me how can i restrict to call my code behind funtion