473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
Nov 19 '05 #1
4 2958
Sincere wrote:
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

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #2
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
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

Nov 19 '05 #3
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in news:uY8e#FfnFHA.1204
@TK2MSFTNGP12.phx.gbl:
Sincere wrote:
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


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

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #4
U can use JavaScript

<a href="#"
onClick="window.open('http://localhost/Site/images/pic.gif','_blank','height=520,width=680,resizable= yes,scrollbars=yes,menubar=no,status=no');return
false;"><img src='http://localhost/Site/images/pic_timb.gif'width='120'
height='120' alt='Show image'></a>

"Sincere" <Si*****@discussions.microsoft.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:01**********************************@microsof t.com...
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


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Anna | last post by:
Hi all. I have a (hopefully) pretty simple question. I open a link in a new window: <a href="http://www.somewhere.com/some.hml"...
1
by: feng | last post by:
I need to open a browser window that doesn't have have the header bar containing the "X" button and min/max buttons. I know I saw those kind of windows before when I browse the web, but I don't...
3
by: Kuldeep | last post by:
Hi All, How can i mail the current open page? The open page contains some data (which vary every time page is opened), textbox to enter email id and send button. When the send button is clicked...
2
by: Ayoa | last post by:
I am working on some web based custom reports and i want to open multiple browser at the click of a button. So for example if i have 2 guids in my arraylist, i want to open 2 windows. protected...
6
by: shil | last post by:
I have a server side button that needs to do some preperation and afterwards, if everything goes well, open a new browser with a specific url. I know how to execute javascript from a server side...
7
by: nyousfi | last post by:
Hi, Can someone please tell me how I can open a browser window from VB.NET code bearing in mind that I have limited permissions. I have limited permissions because the code is a Client Control...
2
by: mike | last post by:
Hi, I have surfed through several posting about exporting gridview to excel and it works great. using the following code... response.Clear() response.ContentType = "application/vnd.ms-excel"...
13
by: Geoff Fox | last post by:
I am in the final moments of designing a new website. One of the pages (http://www.auditionfactory.com/samples.php) has four links to show sample work. I would like these links to open new...
3
by: nirmalsanjaya | last post by:
Hi, I want to Open a browser with a url like following file://remotecomp1/Doc/en/Models/default2.htm?openpage=file://remotecomp1/Doc/en/DocYY/file.htm But when I tried it using the following...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.