473,802 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One simple question about HyperLink, Urgent, thanks

I've one datagrid and one frame with id ="frmdetail" ,

in the datagrid, there is one template column which includes one HyperLink,

<asp:HyperLin k id="detaillnk" runat="server" text='detail'
Target='frmdeta il' NavigateUrl='so meurl' ></asp:HyperLink>

but when I clicked , it was shown in one new window.

Thank you, wait for the answer online...

Nov 18 '05 #1
2 1178
Target='frmdeta il' relates to the window that you want the URL to open into,
if your exisiting window is not called this it will spawn a new window and
name it frmdetail when the link is clicked.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Edward" <zi***@citiz.ne t> wrote in message
news:uG******** ******@TK2MSFTN GP12.phx.gbl...
I've one datagrid and one frame with id ="frmdetail" ,

in the datagrid, there is one template column which includes one HyperLink,
<asp:HyperLin k id="detaillnk" runat="server" text='detail'
Target='frmdeta il' NavigateUrl='so meurl' ></asp:HyperLink>

but when I clicked , it was shown in one new window.

Thank you, wait for the answer online...

Nov 18 '05 #2
Thanks, John.

if I want the DataGrid to set the frame src in the same page , how to do it?

BTW, I used Microsoft TreeView, its treenode can set Target to frame in the
same page. Why datagrid cannot ?

"John Timney (Microsoft MVP)" <ti*****@despam med.com> дÈëÏûÏ¢ÐÂÎÅ
:e$************ **@TK2MSFTNGP11 .phx.gbl...
Target='frmdeta il' relates to the window that you want the URL to open into, if your exisiting window is not called this it will spawn a new window and
name it frmdetail when the link is clicked.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Edward" <zi***@citiz.ne t> wrote in message
news:uG******** ******@TK2MSFTN GP12.phx.gbl...
I've one datagrid and one frame with id ="frmdetail" ,

in the datagrid, there is one template column which includes one

HyperLink,

<asp:HyperLin k id="detaillnk" runat="server" text='detail'
Target='frmdeta il' NavigateUrl='so meurl' ></asp:HyperLink>

but when I clicked , it was shown in one new window.

Thank you, wait for the answer online...


Nov 18 '05 #3

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

Similar topics

3
1503
by: Doug Swanson | last post by:
So I've added a hyperlink to a screen based on a url stored in a database. The problem is that the hyperlink text is not underlined....but it becomes underlined when you hover over it. Small thing but it's what the users want... The screen/window that it is on is a popup window if that makes any difference....btw I'm using a literal and emitting the html code on the fly...the same results happen when I use the .NET hyperlink control. ...
4
2520
by: Keith | last post by:
I have this simple scenario. -------- Choose an item ->dropdownlist-> or <a>Create a new item</a> -------- When someone decides to click on the create a new item link, it takes them to a page in which they can enter more records to the database field to which the dropdownlist is bound.
3
333
by: Manny Chohan | last post by:
hi guys, i am creating Hyperlink control in the codebehind and adding it to the panel. The problem is that they are ending up next to each other without any space between them. can someone recomend based on my code how i can get a space about a tab between each hyperlinks. here is my code: HyperLink MyHyperLink = new HyperLink(); MyHyperLink.NavigateUrl = attachment.Address.ToString();
5
5011
by: Vear | last post by:
Sorry, very Newbie question here. I don't know what I'm doing wrong. I have to use a <asp:hyperlink> to go to another page. I want to pick up the value in a text box. This is what I've tried and It tells me it won't work. Not sure how to do it. NavigateUrl="~/secure/Confirm.aspx?No=201, IDate=" & TxtBx1.text & ", ODate = " & TxtBx2.text
9
2864
by: loga123 | last post by:
I am using asp .net 2.0. I have a hyperlink asp control on my web page page1.aspx. On clicking this hyper;link, I would like to open page2.aspx (which is in the same web application) in a new IE window without scrollbars, status bar, tool bar and with specified height and width. Can it be done on "onload" event of the page2.aspx in javascript?
10
2297
by: David Thielen | last post by:
Hi; I have help html pages for each page of my ASP.NET webapp. So for the page datasource.aspx, I have help\datasource.htm. Bu what I want when the hyperlink is clicked, for it to look for the following files in order (assuming I am running from the us): help\datasource_en_US.htm help\datasource_en.htm help\datasource.htm
22
5265
by: mforema | last post by:
Hey Everybody, I have an URGENT REQUEST (I need a reply within 24 hours, or I lose my job) I need help writing vba code for a command button. I want this button to locate a hyperlink in a table (the hyperlinks have their own field) based on the record's name (the first field in the table). If the there is a hyperlink for the record, then I want it to be opened. If there is no hyperlink for the record, then I want a message box that states so....
4
1979
by: hirnis | last post by:
pls anyone tell me that how to pass more parameter into the datagrid with hyperlink column at client side because i required a value of the selected hyperlink cell for fetching another table and also want to bind the data with other datagrid which is selected by the client. so i basically required the value which is selected by the client and then pass the value of that link to other table and bind the data with other grid. pls answer me...
2
1032
by: Vajrala Narendra | last post by:
Hi all, am working on asp.net 2.0, c# am using a gridview and hyperlink field in that am displaying id also on clicking hyperlink i have to pass that id as query string parameter i tried with following code but not success plz check
0
9699
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
9562
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,...
0
10535
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10061
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
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
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
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.