473,503 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

question of Frame

I've one page, which contains two frames and one hyperlink.

My requirement is , any hyperlink in menu, can direct frame "main" , but it
failed. It opened another window.

so I added one hyperlink in the top page, it also failed. The same as above.

Why ? below is my page code.

<form runat="server">
<iframe id="menu" style="WIDTH: 453px; HEIGHT: 52px" border="0"
src="default.aspx" frameborder="0">
</iframe>
<asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl="http://www.google.com" Target="main">HyperLink</asp:HyperLink>
<iframe id="main" style="WIDTH: 100%; HEIGHT: 800px"
src="default2.aspx" frameborder="0">
</iframe>
<!-- Insert content here -->
</form>

Wait online... any help will be appreciated.
Nov 18 '05 #1
2 2500
Set attribute name="main" for the iframe.

Eliyahu

"Edward" <zi***@citiz.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've one page, which contains two frames and one hyperlink.

My requirement is , any hyperlink in menu, can direct frame "main" , but it failed. It opened another window.

so I added one hyperlink in the top page, it also failed. The same as above.
Why ? below is my page code.

<form runat="server">
<iframe id="menu" style="WIDTH: 453px; HEIGHT: 52px" border="0"
src="default.aspx" frameborder="0">
</iframe>
<asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl="http://www.google.com" Target="main">HyperLink</asp:HyperLink> <iframe id="main" style="WIDTH: 100%; HEIGHT: 800px"
src="default2.aspx" frameborder="0">
</iframe>
<!-- Insert content here -->
</form>

Wait online... any help will be appreciated.

Nov 18 '05 #2
Thanks a lot, Eliyahu. You saved my time.
Set attribute name="main" for the iframe.

Eliyahu

"Edward" <zi***@citiz.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I've one page, which contains two frames and one hyperlink.

My requirement is , any hyperlink in menu, can direct frame "main" ,
but it
failed. It opened another window.

so I added one hyperlink in the top page, it also failed. The same as

above.

Why ? below is my page code.

<form runat="server">
<iframe id="menu" style="WIDTH: 453px; HEIGHT: 52px" border="0"
src="default.aspx" frameborder="0">
</iframe>
<asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl="http://www.google.com"

Target="main">HyperLink</asp:HyperLink>
<iframe id="main" style="WIDTH: 100%; HEIGHT: 800px"
src="default2.aspx" frameborder="0">
</iframe>
<!-- Insert content here -->
</form>

Wait online... any help will be appreciated.


Nov 18 '05 #3

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

Similar topics

14
2119
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
7
2295
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
4
3597
by: anonymous | last post by:
Thanks your reply. The article I read is from www.hakin9.org/en/attachments/stackoverflow_en.pdf. And you're right. I don't know it very clearly. And that's why I want to understand it; for it's...
1
1271
by: Edward | last post by:
hello, everyone, I build one tree menu using TreeView webcontrol , everything is ok, from tree node click, one sub-frame(main) can refresh its content with new url. My question is, I have...
6
1639
by: Ashok | last post by:
Hi, I am starting a new project to build a software product using APS.NET 2.0. In past I have used "frameset" and "frame" to build pages. My current requirements I have coded using frameset and...
6
2746
by: rbann11 | last post by:
Hi, I am looking for example code that consists of just a frame and a grid(10x2). The grid must fill the its parent even if the frame is resized. Thanks in advance, Roger
0
1464
by: Eric_Dexter | last post by:
I know this might be the wrong place to ask but I recently modified the ogl example from wxpython and it works fine in spe but when I call it from other programs it wierds out because of the run.py...
1
1263
by: Simon | last post by:
A very simple question that is very hard to google..(so please be so kind to answer it, if you have the answer.) How can I reach an iframe, located in another frame. Situation: frameset of three...
4
4839
by: sumitha | last post by:
Hi I am using wxpython to develop my GUI. I have 3 frame. On the first frame I have ok button and when I click that it will open 2nd frame. And when I click ok button on 2nd frame, it will open 3rd...
3
2958
by: joshdw4 | last post by:
I hate to do this, but I've thoroughly exhausted google search. Yes, it's that pesky root window and I have tried withdraw to no avail. I'm assuming this is because of the methods I'm using. I...
0
7274
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
7323
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...
1
6984
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...
0
7453
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
5576
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
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1507
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 ...
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
377
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...

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.