Create new tab in browser programatically

Jan 19, 2010 at 1:16 PM


I'd like to create a new tab/window in the browser when a button is pressed.

I'm using this code in the eventhandler for click on the button:

System.Diagnostics.Process.Start("", string.Empty);

When I press the button I get an error: "System.Security.SecurityException: Request failed." (much longer error message, but that seems to be the main reason)

I have the solution published on a server when I get the error. If I run the solution locally I don't get an error. So what am I missing?