Mas

Mas

  • NA
  • 478
  • 72k

How to create a pop-up on same window

Feb 7 2020 6:08 AM
Hello Members,
 
Hope you are doing good!!
 
We are trying to do the POPup on same window, But facing an issue...
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="btnpopup" runat="server" Text="Button" onclick="windows.open('www.google.com','_self', 'height=400,weidth=400')" />
</div>
</form>
</body>
</html>
 
 

Can any one guide me here.
 
Thank you in advance!! 

Answers (4)