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

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:HyperLink ID="hlCompanies" runat="server" CssClass="navLinks"
Target="centerFrame" 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="noresize" 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="noresize" 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 1594

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********@hotmail.comschreef in bericht
news:2Z*****************@newsfe29.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:HyperLink ID="hlCompanies" runat="server" CssClass="navLinks"
Target="centerFrame" 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="noresize" 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="noresize" 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
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...
4
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. ...
4
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...
2
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: ...
4
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....
1
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...
6
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...
6
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
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,...
0
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...

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.