views:

140

answers:

0

I have the following line of code:

ScriptManager.RegisterStartupScript(this, typeof(string), "print", "javascript:window.open('Print.aspx');", true);

This opens up the popup window in Firefox and IE, but not Chrome. Normally, I would use onClientClick on the button, which works fine on all browsers. In this case, however, I have to do it programmatically. Also, this does work if the user explicitly configures Chrome's popup blocker to allow popups for the site.

Is there any other way to ensure the popup windows shows up in Chrome, either in a seperate window or a separate tab, without requiring the user to make a configuration?