Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

jQuery, asp, popup window

$
0
0

Hi, I have two .aspx pages, I need after clicking on button open the second page popup, but like image. like in this example

http://www.dotnetpools.com/Article/ArticleDetiail/?articleId=312&title=jQuery-Popup-Dialog-Box-Showing-on-Click-%7C-jquery-popup-window-example

but I can't rich this, here is my code, please help

<script type="text/javascript">
    function Openpopup(popurl) {
        winpops = window.open(popurl, "", "width=340, height=300, left=45, top=15, scrollbars=yes, menubar=no,resizable=no,directories=no,location=no")
    }</script></head><body><form id="form1" runat="server"><div><asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="Openpopup('f1.aspx')" /></div>

this just opens the second window on pop, but not like an image, 

thanks in advance


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>