HI
This might help you..
you can customise the style, text etc..
if any issue, revert back with a comment :)
<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs"
Inherits="POC.WebForm2" %>
<!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 id="Head1" runat="server">
<style type="text/css">
.Overlay
{
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
overflow: hidden;
padding: 0;
margin: 0;
background-color: #000;
filter: alpha(opacity=50);
opacity: 0.5;
z-index: 1000;
}
.PopUpPanel
{
position: absolute;
background-color: white;
top: 40%;
left: 30%;
z-index: 2001;
padding: 10px;
min-width: 250px;
max-width: 250px;
-moz-box-shadow: 3.5px 4px 5px #000000;
-webkit-box-shadow: 3.5px 4px 5px #000000;
box-shadow: 3.5px 4px 5px #000000;
border-radius: 5px;
-moz-border-radiux: 5px;
-webkit-border-radiux: 5px;
border: 3px solid green;
}
</style>
<script type="text/javascript">
var closepopup = function () {
document.getElementById('<%= panelOverlay.ClientID %>').style.visibility = 'hidden';
document.getElementById('<%= panelPopUpPanel.ClientID %>').style.visibility = 'hidden';
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="btnSave" Text="Save" runat="server" OnClick="btnSave_Click" />
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:Panel ID="panelOverlay" Style="visibility: hidden" runat="server" class="Overlay"
Visible="true">
</asp:Panel>
<asp:Panel ID="panelPopUpPanel" Style="visibility: hidden" runat="server" class="PopUpPanel"
Visible="true">
<table width="100%">
<tr>
<td>
your request has been completed sucesfully, click continue to go home page?
</td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnContinue" OnClientClick="window.location.href = 'home.aspx'; return false;"
Text="Continue" runat="server" />
<asp:Button ID="btnClose" OnClientClick="self.closepopup(); return false" Text="Close"
runat="server" />
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</form>
</body>
</html>
protected void btnSave_Click(object sender, EventArgs e)
{
panelOverlay.Style.Add("visibility", "visible");
panelPopUpPanel.Style.Add("visibility", "visible");
}