Subscribe Now!

Enter your email address:

Friday, February 4, 2011

Open a Popup window from asp.net webpage

<script type="text/javascript">
function basicPopup() 
{
popupWindow = window.open("http://www.google.com",'popUpWindow','height=620,width=1000,left=100,top=30,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no, status=yes');
}
</script>
<asp:Button ID="Button2" runat="server" Text="Popup" OnClientClick="basicPopup();return false;"/>

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...