G
Gilles T.
Hi,
I have this code:
<script language="VB" runat="server">
Sub cmdImprimer_Click(sender As Object, e As System.EventArgs)
Page.RegisterStartupScript("openWindow","<script
language='JavaScript'>window.open('dialog.aspx,'Rapport','toolbar=no,locatio
n=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,widt
h=900px,height=700px').focus();<" & "/" & "script>")
end sub
</script>
<center>
<asp:Button CssClass="InputButton" ID="cmdPrint" runat="server"
Text="Imprimer" OnClick="cmdImprimer_Click" />
</center>
My popup window open and execute good but always UNDER my current window.
How I can write my code to have my popup window over my current window?
Thanks
I have this code:
<script language="VB" runat="server">
Sub cmdImprimer_Click(sender As Object, e As System.EventArgs)
Page.RegisterStartupScript("openWindow","<script
language='JavaScript'>window.open('dialog.aspx,'Rapport','toolbar=no,locatio
n=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,widt
h=900px,height=700px').focus();<" & "/" & "script>")
end sub
</script>
<center>
<asp:Button CssClass="InputButton" ID="cmdPrint" runat="server"
Text="Imprimer" OnClick="cmdImprimer_Click" />
</center>
My popup window open and execute good but always UNDER my current window.
How I can write my code to have my popup window over my current window?
Thanks