use this script
<script type="text/javascript">
function confirmation() {
if (confirm('are you sure you want to delete ?')) {
return true;
}else{
return false;
}
}
</script>
and in ur button call the function
<asp:button id="Button1" runat="server" text="Button"
OnClientClick="return confirmation();" onclick="Button1_Click"/>