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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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
 
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

Back
Top