Re: asp.net c# messagebox
The thing is that the Page.ClientScript.RegisterClientScriptBlock method will add the script to your page and will not call the page. You need to tell on which click button to invoke the event as shown in MSDN
Re: asp.net c# messagebox
Hello,
You might also want to take a look at this approach:
http://www.asp.net/data-access/tutor...en-deleting-vb
Assuming that you are trying to get a client side confirmation when you click a button, you can simply add something like:
Code:
OnClientClick="return confirm('Are you certain you want to delete this product?');"
To the button that you want the confirmation on.
Gary