Link to home
Create AccountLog in
Avatar of Russ Suter
Russ Suter

asked on

Open a URL in a new Window under .NET Framework 1.1

I need to dynamically create a hyperlink on a web page that opens a URL in a new window. This is using the .NET Framework 1.1 so I can't use the LinkButton with the OnClientClick() property which is how I'd normally do it. How can I dynamically create a link on a page and have that link open a new window? Maybe there's a tidy javascript solution that I'm missing?
Avatar of DotNetThinker
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
OnClientClick="somefunction();" in .Net 2.0 is effectively the same as using: