Responses |
I am sorry friend but can you just place whole code you have with you.
I am not getting exactly what you want to do. what i understood is,
you have to show user confirm message box on click of image button only when checkbox(s) is /are checked. and when user click cancel button on confirm box; you want to avoid redirection to default.aspx..
if is it so then following code will help you
function test()
{
return confirm("Do you want to proceed??");
}
APatel, please login to Mark As Answer, if this helps |
Alert Moderator
|
Hi-
Please Post the code of this event btn_OnClick here.
Thanks & Regards
Lakhan Pal Garg
APatel, please login to Mark As Answer, if this helps |
Alert Moderator
|
Thanks for your reply,
"you have to show user confirm message box on click of image button only when checkbox(s) is /are checked. and when user click cancel button on confirm box; you want to avoid redirection to default.aspx.. "
yes, your understaning is correct but after click on cancel button on confirm message box then i want to click on submit button(full post back - outside update panel) and save value in database. but when i am click on submit button it will directly redirect to default.aspx page instead of saving value in Database.
So can you please help me how it is redirect to default.aspx page instead of fire click event?
Thank you,
APatel, please login to Mark As Answer, if this helps |
Alert Moderator
|
Hi Apatel,
As requested previously by other users, kindly post your code of button click. That will help us to solve the problem.
Thanks,
Virendra Dugar
APatel, please login to Mark As Answer, if this helps |
Alert Moderator
|