S
Steve Peterson
Hi
I have a asp button on a page. This button, on it's btnDelete_Click() event
in the code behind will delete a record from the db. What I would like to do
is put in some sort of JavaScript that will present a "Confirm" message box.
If the user presses cancel, then nothing happens, or rather the form is not
posted back to the server thus causing the btnDelete_Click event to fire.
I'm having the hardest time figuring out how to do this. JavaScript is not
my forte to begin with, plus mixing it with ASP.Net makes it even more
tricky to work with..
Can someone help me out please?
TIA
Steve
I have a asp button on a page. This button, on it's btnDelete_Click() event
in the code behind will delete a record from the db. What I would like to do
is put in some sort of JavaScript that will present a "Confirm" message box.
If the user presses cancel, then nothing happens, or rather the form is not
posted back to the server thus causing the btnDelete_Click event to fire.
I'm having the hardest time figuring out how to do this. JavaScript is not
my forte to begin with, plus mixing it with ASP.Net makes it even more
tricky to work with..
Can someone help me out please?
TIA
Steve