Spawn New Browser Using LinkButton Control

D

DM

Using the LinkButton control on a web form, how can I make the clicking of it open a new browser instance? I know how to do it with the normal anchor tag, but not this ASP.NET control.
 
M

Michelle Hlaing

--------------------
From: "DM" <[email protected]>
Subject: Spawn New Browser Using LinkButton Control
Date: Thu, 20 May 2004 10:58:10 -0600

Using the LinkButton control on a web form, how can I make the clicking of it open a new browser instance? I know how to do it with the normal anchor tag, but not this ASP.NET control.

Hi,

Check out http://msdn.microsoft.com/library/d...ystemwebuiwebcontrolslinkbuttonclasstopic.asp for more
explanation on the LinkButton control.

If you still want to use it to navigate to another page then in the Click event you should use Respose.Redirect to take you there

Hope that helps,

Michelle

***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,819
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top