Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8179929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:06:23+00:00 2026-06-07T00:06:23+00:00

When user clicks hyperlink on my ASP.NET page, I want a new browser to

  • 0

When user clicks hyperlink on my ASP.NET page, I want a new browser to open.

I added from toolbox a hyperlink to my target .html file,
and added to Sub Page_Load

<hyperlink ID>.Attributes.Add("target","_blank") 

But it adds a new tab to browser instead of opening a new browser window.

I tried putting '_blank' into 'Target' attribute of hyperlink property, but still fails.

Weirdly, it works and opens new browser when I run it from VisualStudio, but it only opens new tab if I browse to my web site.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:06:24+00:00Added an answer on June 7, 2026 at 12:06 am

    I don’t think there is any way to control how the new window opens. It could be new window or tab based on user’s browsers settings.

    JavaScript open in a new window, not tab

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

want to open pdf file when a user clicks on hyperlink shown in gridview
On my web app's home page, when the user clicks the About hyperlink control
In one ASP.NET application, we provide a link to open another application. If user
I want to set hyperlink field in datagrid view. When user clicks on that
New to VB.net, and trying to re-factor an 'old-skool' ASP page where all the
I've a following requirement for my asp.net page: User can add a textbox dynamically
I have a hyperlink (open grid) where if user clicks on it it opens
When user clicks on select box , I want to hide the options menu
When the user clicks on a button, a new ListFragment is displayed. This fragment
When the user clicks add more options, a from is created with javascript document.getElementById('addmore').innerHTML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.