473,847 Members | 1,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

which control can I use to link to a new window?

Hi all,

I was using the Hyperlink control to link to another URL. However, I need
to open a new window where that URL can be displayed, and I do not see
a property in the control that allows me to do that. I would not like to use
Javascript at this time. Is there any other control that can help me to do
just that?

Thanks in advance,

Carlos
Jan 23 '08 #1
2 822
The same HyperLink will do it if you specify Target="_blank" .

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Carlos" <ch******@yahoo .comwrote in message
news:ux******** ******@TK2MSFTN GP04.phx.gbl...
Hi all,

I was using the Hyperlink control to link to another URL. However, I need
to open a new window where that URL can be displayed, and I do not see
a property in the control that allows me to do that. I would not like to
use Javascript at this time. Is there any other control that can help me
to do just that?

Thanks in advance,

Carlos

Jan 23 '08 #2
Thank you Eliyahu!

"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:uM******** ******@TK2MSFTN GP06.phx.gbl...
The same HyperLink will do it if you specify Target="_blank" .

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Carlos" <ch******@yahoo .comwrote in message
news:ux******** ******@TK2MSFTN GP04.phx.gbl...
>Hi all,

I was using the Hyperlink control to link to another URL. However, I need
to open a new window where that URL can be displayed, and I do not see
a property in the control that allows me to do that. I would not like to
use Javascript at this time. Is there any other control that can help me
to do just that?

Thanks in advance,

Carlos


Jan 23 '08 #3

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

Similar topics

5
1222
by: dave | last post by:
We have this older asp application (i dont think this is a factor) that has an active x control on it. When we open the web page that has the control on it, everything appears to work just fine. Now if we get to the page through a link that has target='new' then the controls on the page do not work correctly. We have opened the web page through a link in word or from another web page and the controls do not work. The problem is all...
6
1655
by: Jeff S | last post by:
I would like recommendations for implementing a calendar in an ASP.NET web site. My plan is to store date and event information (e.g,, "Spring Sale") in a database, and when the page is requested, load the calendar. Users would ideally view an entire month, and a short description of an event within a specific date. More than one event will be listed for some dates, with a brief description displayed in the calendar. I'd like to enable...
1
1410
by: Krishnan | last post by:
Hi, Could anybody tell me how to make a link control open a new window when clicked? Thanks Krishnan
0
1752
by: maxrawson | last post by:
First, let me start by saying my asp.net experience is still in it's infancy so please bare with me as I try to explain my situation. I have created a single page that with the use of many controls (i.e. roundedcorners component www.4guysfromrolla.com], buttons and panels) functions like a tab control. The buttons are programmatically designed to make the corresponding panel visible. Sample aspx.vb code:
2
3424
by: Caesar Augustus | last post by:
First, let me start by saying my asp.net experience is still in it's infancy so please bare with me as I try to explain my situation. I have created a single page that with the use of many controls (i.e. roundedcorners component www.4guysfromrolla.com], buttons and panels) functions like a tab control. The buttons are programmatically designed to make the corresponding panel visible. Sample aspx.vb code:
3
2803
by: Peter | last post by:
Does anyone have an example of how you would do a popup window when a user clicks on a day number link in the ASP.NET Web Calendar control? I am trying to create an event calendar similar to how Outlook works. When user clicks on the day number in the calendar control I want to display a popup window and let user add data and click on the Save button. The code under the save button will save the data to the database and close the popup...
8
2920
by: Vibor Cipan | last post by:
Hi I have two webbrowser controls on my form web1 and web2. I load some HTML in web1, and that HTML file contains links. How to make following thing - when i click on link in web1 control, to load content (loacal file) associated with that link in web2 kontrol. second question... how can i open let's say frmExample when i click a link in HTML file "Example" and frmMultimedia when i click "Multimedia"?
0
915
by: ourspt | last post by:
We are using System.Web.Ui.WebControls.Calendar(Default Web control in .Net) And we are using following javaScript tp get the selected date to the corresponding Textboxes Private Sub calDate_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles calDate.DayRender '// Clear the link from this day e.Cell.Controls.Clear()
0
9892
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9734
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10718
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7061
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5729
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5915
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4130
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3168
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.