473,401 Members | 2,068 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,401 software developers and data experts.

How i can open page in new tap in asp.net?

1
my proplem is when i open my ASP page in new tab, he will not loud inside the home page, he will apear sparetly with the home page
Jul 1 '12 #1
1 1463
down vote


Just register a window.open command in the start client script.

In your C# client side code (event):

RegisterStartupScript("SomeNameForThisScript", "window.open('YourPage.aspx');");

When you page is served up, the startup script will fire and open a new window. You can customize how the window.open works via attributes.
Jul 3 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: vishal | last post by:
hi i am creating one site and i am not allowed to use client side scripting in site and i have one link in my one page. when user clicks on this link the target page must be opened in another...
1
by: Wes | last post by:
This should be really simple ... but how to do it has been eluding me ... I am writing an ASP.NET application and am using ASP.ImageButtons & ASP.Buttons. Instead of redirecting to another...
3
by: TC | last post by:
Hello, In ASP.Net via C#, but if someone can help me with a VB.Net example that's fine too, I am trying to redirect to a page that is already open. For example, when a user clicks a submit...
7
by: ACaunter | last post by:
Hi all, I'm having a little problem here.. my code is: Session("test") = Button46.Text Button46.Attributes.Add("Onclick", "opennewpage()") i have this code inside the button click, which means...
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...
0
by: teo | last post by:
Hallo, I need to open a page with frames; I need to open it NOT with the usual first page in its centre, but with a different page in the centre. Detailed explanation:
4
by: nittin14 | last post by:
hi guys i m a beginner in Asp.net can u tell me that how to open page in new window after click button as well as i want to pass some data from this page. thanks
4
Death Slaught
by: Death Slaught | last post by:
im making a web site for a friend and i need a section of a-z links on a music page that have all the artist there that start with that letter but it wont open. heres the code to the music page. ...
0
by: Zuhaib Hyder | last post by:
how to open page on parent frame by using response.redirect??? or from c# ????
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.