How to Open a page in a NEW Browser via asp.net

G

Guest

Hello,

I need to know when i click on the sign in button on my asp.net
application, i want the new page to be opened in a new browser window.

thanks in advance
 
C

Curt_C [MVP]

Sincere said:
Hello,

I need to know when i click on the sign in button on my asp.net
application, i want the new page to be opened in a new browser window.

thanks in advance

you have to use clientside code. Either a window.open or an HREF with a
TARGET= tag specifying a new window

It's nothign to do with ASP.NET
 
T

tom pester

Hi,

Notice the target=_new :

<form target=_new id="form1" action="date.aspx">
<div>

<input type=submit />
</div>
</form>

Let me know if it helped you or not...

Cheers,
Tom Pester
 
L

Lucas Tam

you have to use clientside code. Either a window.open or an HREF with a
TARGET= tag specifying a new window

It's nothign to do with ASP.NET

Or you can do it via javascript too (and control the window properties) : )
Tho I prefer the target method myself.
 

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

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top