Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window.Open 1

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
US
I am using window.open to open a popup form for the user to fill out. In IE once the form loads it drops down to the taskbar and does not stay in view of the user. in Chrome the popup stays on top.

my code...

<asp:Button ID="b3" runat="server" CssClass="b1" Font-Names="Verdana"
ForeColor="White" Height="25px" OnClientClick="javascript: window.open('InspectionForms/MyForm.aspx','','height=900,width=800,scrollbars=yes');"
Text="Print Form" Width="125px" Visible="False" />

any help would be appreciated...thanks

 
I would also suggest using JQuery and JQueryUI. They have a modal popup you can use, this way, the popup will never lose focus until you close it manually or in code.
It is very simple to use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top