Is that possible? I have tried this:
whereCode:<asp:button id=btnOpen OnClick="Javascript: openNewWindow();" tabIndex=20 Runat="server" CssClass="knap2" Text="Åbn fil"></asp:button>
But it doesnt't workCode:<script language=javascript> function openNewWindow() { var winName = ""; var winFeatures = "width=520,height=640,top=0,left=0,status"; var winURL = "http://localhost/Prisberegning2004/udskrift.aspx" var w; w = window.open(winURL,winName,winFeatures); } </script>




Reply With Quote