In this session , i explained how to use Sweet Alert popups,
Add sweet Alert script file and css file to the application
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="js/sweet-alert/sweet-alert.min.js"type="text/javascript"></script>
<link href="css/sweet-alert.css"rel="stylesheet"type="text/css"/>
<script>
function checkDelete() {
swal({
title: "Are you sure?",
text: "You will not be able to recover this imaginary file!",
type: "warning",
showCancelButton: true,
confirmButtonColor: "#DD6B55",
confirmButtonText: "Yes, delete it!",
closeOnConfirm: false
}, function () {
swal("Deleted!", "Your imaginary file has been deleted.", "success");
});
}</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:LinkButton ID="lbDelete"Runat="server"OnClientClick="checkDelete();return false;" >Delete</asp:LinkButton>
</div>
</form>
</body>
</html>