I am still having a problem showing a new window with javascript. When a user clicks a linkbutton on my page, it should show BalanceReport.aspx with the accompanying parameters, instead it does nothing. It always works on my system (naturally), it always works on another users' system, and it never works on yet another users' system. In the Page_Load event I do some database stored procedure calls and fill a stringbuilder with HTML that is sent to the page in an asp:Literal control. That seems to work. Javascript is enabled on our browsers (IE6 xpSp2). There are no popup blockers on the suspect system, and other window.opens work. I am unsure where to look next. This link works: const string cOnClientClickTemplate = "javascript:window.open('ClaimPopup.aspx?CompPK={0}&ProviderName={1}&FundType={2}',"; const string cPopupDialogArgs = "'newWindow','width=500,height=450');return false;"; NewDiscClaim.OnClientClick = String.Format(cOnClientClickTemplate, ViewState["CompPK"].ToString (), ViewState["ProviderName"].ToString(), "disc") + cPopupDialogArgs; This link does not work: const string cOnClientClickReportTemplate = "javascript:window.open('BalanceReport.aspx?CompPK={0}',"; const string cReportDialogArgs = "'newWindow','width=800,height=800,resizable=yes, menubar=yes,toolbar=yes');return false;"; lbtnReport.OnClientClick = String.Format(cOnClientClickReportTemplate, ViewState["CompPK"].ToString()) + cReportDialogArgs; Any ideas? Thanks.
Someone's gotta be the last to know, but why is it always me?