Want to display a "confirm" message in my asp.net appl, when the window closes, but when the Cancel button is pressed, the page closes, the event is not Canceled. I tried a different approach: I use; event.returnValue = "Message"; This approach works (when cancel is pressed, page does not close), but I get the "Message" that I specify plus some other message; "Click Acept or Cancel to calcel" or something similar.
How can I create a message on the client side that only displays the text that I specify
Many thanks in advanced guys!!!