ASP.Net LinkButton Popup Window
I have the following code tied to a LinkButton. It works fine with IE 8 but doesn't with Chrome.
Would someone enlighten if I'm doing something wrong or if this isn't possible please?
String csname1 = "PopupScript";
Type cstype = this.GetType();
ClientScriptManager cs = Page.ClientScript;
if (!cs.IsStartupScriptRegistered(cstype, csname1))
string js = "myWindow=window.open('','Test','width=500,height=500');" +
cs.RegisterStartupScript(cstype, csname1, js, true);
RESOLVED: turn popup blocker off....
Last edited by Vomster; July 2nd, 2012 at 02:23 PM.
October 9th, 2012, 07:10 AM
Solutions of the problem.
You can solve your problem by doing this.
Turn popup blocker off.... in chrome.It run first time open turn popup blocker off to on in top of right corner on chrome.