473,655 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hyperlink & Frames

Hi,

I have a problem using a hyperlink and a frameset...
When I run the application, and click on the link, the link is displayed in
a new window...
But the strange thing is, I set the target to the target frame....

using an html

Very strang....

Thanx

John

Below the code...

<asp:HyperLin k ID="hlCompanies " runat="server" CssClass="navLi nks"
Target="centerF rame" NavigateUrl="~/Pages/Users/Companies.aspx" >

<frameset cols="*,259,755 ,*" frameborder="no " border="0" framespacing="0 ">

<frame src="./Other/black.htm" frameborder="no " scrolling="no"
marginwidth="0" marginheight="0 " id="left" />

<frame src="./Navigation/navAll.aspx" frameborder="no " scrolling="auto "
marginwidth="0" marginheight="0 " id="navigation " />

<frameset rows="228,*,60" frameborder="no " border="0" framespacing="0 ">

<frame src="./Other/top.aspx" name="top" frameborder="no " scrolling="No"
noresize="nores ize" marginwidth="0" marginheight="0 " id="top" />

<frame src="./mainPage.aspx" frameborder="no " scrolling="auto "
marginwidth="0" marginheight="0 " id="centerFrame " />

<frame src="./Other/bottem.aspx" name="bottem" frameborder="no "
scrolling="No" noresize="nores ize" marginwidth="0" marginheight="0 "
id="bottem" />

</frameset><frame src="./Other/black.htm" frameborder="no " scrolling="no"
marginwidth="0" marginheight="0 " id="right" />

</frameset>
Jun 27 '08 #1
1 1612

I think I found the problem....

When using a frame with for example 2 columns, everything works fine.
Adding a second frameset gives a problem when linking outside the frameset
with aspx files...

Does anyone know why working with nested frames is a problem with aspx files
?

Thanx

John



"John Devlon" <Jo********@hot mail.comschreef in bericht
news:2Z******** *********@newsf e29.ams2...
Hi,

I have a problem using a hyperlink and a frameset...
When I run the application, and click on the link, the link is displayed
in a new window...
But the strange thing is, I set the target to the target frame....

using an html

Very strang....

Thanx

John

Below the code...

<asp:HyperLin k ID="hlCompanies " runat="server" CssClass="navLi nks"
Target="centerF rame" NavigateUrl="~/Pages/Users/Companies.aspx" >

<frameset cols="*,259,755 ,*" frameborder="no " border="0" framespacing="0 ">

<frame src="./Other/black.htm" frameborder="no " scrolling="no"
marginwidth="0" marginheight="0 " id="left" />

<frame src="./Navigation/navAll.aspx" frameborder="no " scrolling="auto "
marginwidth="0" marginheight="0 " id="navigation " />

<frameset rows="228,*,60" frameborder="no " border="0" framespacing="0 ">

<frame src="./Other/top.aspx" name="top" frameborder="no " scrolling="No"
noresize="nores ize" marginwidth="0" marginheight="0 " id="top" />

<frame src="./mainPage.aspx" frameborder="no " scrolling="auto "
marginwidth="0" marginheight="0 " id="centerFrame " />

<frame src="./Other/bottem.aspx" name="bottem" frameborder="no "
scrolling="No" noresize="nores ize" marginwidth="0" marginheight="0 "
id="bottem" />

</frameset><frame src="./Other/black.htm" frameborder="no " scrolling="no"
marginwidth="0" marginheight="0 " id="right" />

</frameset>


Jun 27 '08 #2

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

Similar topics

40
10812
by: Brian Jorgenson | last post by:
On my web page, I have a few hyperlinks with target frame of _blank. The hyperlink brings up a second window, but everytime I click on thie hperlink, it keeps bringing up a new window and not defaulting the the first active window. How do I make a hyperlink point to the active window? I don not want the hyperlink to default to the same page. I do want a second window but only a second window and not multiple pages.
4
34939
by: ry66 | last post by:
Hello All! Is it possible to submit a form using hyperlink? I want to send hidden element when a link is clicked. I read some books, but I found only using button which I don't want to use. Thanks in advance.
4
3217
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know that I could externalize my JavaScript, but that will not be practical throughout this application. Is there any way to get around this issue? Xalan processor. Stripped down stylesheet below along with XHTML output. <?xml version='1.0'?>...
2
2268
by: P. Mellerin | last post by:
Hello, I have been searching online for a whole day and couldn't find an answer for this. I have this hyperlink server control: ------------------------------------------------------------------------------------ Design mode: <asp:HyperLink ID="MyHyperlink" Runat="server" NavigateUrl="#">Forms</asp:HyperLink>
4
8948
by: Amir Eshterayeh | last post by:
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help. I create the navigatURL from database dynamically. I see the same question mentioned here but the response is not souitable for me: http://www.dotnet247.com/247reference/msgs/11/57708.aspx
1
1854
by: D. Shane Fowlkes | last post by:
Hello All. I keep asking for help with this on the www.asp.net forums and nobody seems to be able to help. What I'm trying to accomplish is very simple. I simply want to create a Hyperlink Column in a Datagrid and reformat the text output of the column. The helper function seems to be working but the hyperlink column isn't properly being render into html. The actual hyperlink web control is showing up in the html when tested on two...
6
4553
by: FoundThisOnline | last post by:
I have been searching online for a whole day and couldn't find an answer for this. I have this hyperlink server control: ------------------------------------------------ <asp:HyperLink ID="hylForms" Runat="server" NavigateUrl="#">Forms</asp:HyperLink> Codebehind: protected HyperLink hylForms;
6
5428
by: monkey2007 | last post by:
Hi, Thanks for reading this. I have searched all over the web but found no solution. How would one change a url to a hyperlink and email the hyperlink...I parsed through an html file to get this </table><br><div><a class="red_link" href="http://dabcd123456:80/results/report.jsp?a=HGUYU&amp;b=HGUYU&amp;c=%2Fc%2B%2Btest%2F&amp;id=%3Ademd140149%3A1193283688721.html%2BDefault%2Bsmith%3A">TCM report &gt;&gt;&gt;</a></div><br><table width="95%" border="1"...
0
178
by: John Devlon | last post by:
Hi, I have a problem using a hyperlink and a frameset... When I run the application, and click on the link, the link is displayed in a new window... But the strange thing is, I set the target to the target frame.... using an html Very strang....
0
8380
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
8816
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
8710
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8598
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...
0
5627
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
4150
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
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
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
1598
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.