Thanks for your reply, but I think you're assuming I know more than I do (which isn't too much)... the code you suggested doesn't work in straight VB
. I've seen examples on the web where they modify the HTML, but I can't get those to work either.
What I finally found was to add the code to Page_Load:
ibtnSave.Attributes.Add("OnClick", "return confirm('Are you sure?');")
When OK is clicked, it runs the button click event code; when Cancel is clicked it doesn't.
Again, thanks for your reply.
-- another Mike