Live Chat Icon For mobile
Live Chat Icon

How to open a new Window using javascript function from a Link button

Platform: ASP.NET| Category: Client Side Scripting

VB.NET


link.Attributes( 'onClick' ) = 'window.open( ’url’, ’name’, ’properties’ )';

C#


link.Attributes[ 'onClick' ] = 'window.open( ’url’, ’name’, ’properties’ )';

You can also check out Andy Smith’s RemoteWindow Control

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.