M
Marshal Antony
Charlie,
put this javascript function on the client side of your aspx page
<script>
function confirmSubmit() { var sure=confirm("Are you sure you wish to
continue?");
if (sure) return true ; else return false ; }</script>
and call it from the onclick event of your server control for Save say
BtnSave.
You can type it in the tag itself
onclick="return confirmSubmit();"
or
in the Page_Load
BtnSave.Attributes.Add("onclick","return confirmSubmit();");
Regards,
Marshal Antony
http://dotnetmarshal.com
put this javascript function on the client side of your aspx page
<script>
function confirmSubmit() { var sure=confirm("Are you sure you wish to
continue?");
if (sure) return true ; else return false ; }</script>
and call it from the onclick event of your server control for Save say
BtnSave.
You can type it in the tag itself
onclick="return confirmSubmit();"
or
in the Page_Load
BtnSave.Attributes.Add("onclick","return confirmSubmit();");
Regards,
Marshal Antony
http://dotnetmarshal.com