hi there..
try with this script
Code:
<script type="text/javascript">
function ConfirmDelete(e)
{
if (!window.confirm("your confirm text here"))
{
e.returnValue = false;
if (e.preventDefault)
e.preventDefault();
return false;
}
}
</script>
and add this to your button
Code:
OnClientClick="ConfirmDelete(event);"
and it will work like a charm...
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
I programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========