Hi sambath,
Check the below example.
HTML
CS.aspx
<head runat="server">
<title></title>
<script type="text/javascript">
var popupWindow = null;
function OpenPopUp() {
popupWindow = window.open('default.aspx', 'window', 'width=800,height=600,location=yes,menubar=yes,scrollbars=yes,resizable=yes');
return false;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="btnNewWindow" Text="Open new Window" runat="server" OnClientClick="return OpenPopUp();" />
</div>
</form>
</body>
</html>
Default.aspx
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
window.onload = function () {
window.opener.document.body.disabled = true;
}
window.onunload = function () {
window.opener.document.body.disabled = false;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
Screenshot