473,403 Members | 2,354 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.

How do I refresh an ASPX form displayed in a frame?

Hello:

I have a weblayout that uses frames. It has three frames, a header, a column
on the left that displays the menu (that's a aspx form) and a column on the
right that displays the application data.

When I have an application form open in the right frame, I would like to
reload the menu aspx.

Can somebody tell me how I can do this? Thanks.

Venki
Nov 19 '05 #1
3 943
Assuming that you've assigned a name to each frame...

top.<framename>.document.location = <url>

Nov 19 '05 #2
Hi:

Can you elaborate on your suggestion?

I confess I don't know what Top means. Is it a HTM tag or a vb.net command?

The frames are named. The name of the frame that displays the menu is
"contents" and the menu form is "navigation.aspx"

Thanks for your help.

Venki

"ms*****@hotmail.com" wrote:
Assuming that you've assigned a name to each frame...

top.<framename>.document.location = <url>

Nov 19 '05 #3
top = window.top

It's the top most page in the current window.
For example, you could have a page nested in a page nested in a page
(using IFrames) etc and you could always refer to the top most page
(your frame layout) from any of those pages using window.top.

If you simply want to reload the contents of the window using the exact
same contents you can use top.<framename>.document.location =
window.location. This will include the original query string. If you
want to exclude the query string use window.location.pathname.

mike

vvenk wrote:
Hi:

Can you elaborate on your suggestion?

I confess I don't know what Top means. Is it a HTM tag or a vb.net command?

The frames are named. The name of the frame that displays the menu is
"contents" and the menu form is "navigation.aspx"

Thanks for your help.

Venki

"ms*****@hotmail.com" wrote:
Assuming that you've assigned a name to each frame...

top.<framename>.document.location = <url>


Nov 19 '05 #4

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

Similar topics

8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
2
by: Just D. | last post by:
All, How should we refresh the current aspx frame? I disabled caching using this command on Page_Load(): Response.Cache.SetCacheability(HttpCacheability.NoCache); but it didn't help. The...
17
by: Jim Little | last post by:
Hello, I'm driving myself crazy either because I'm missing something about ASP.NET, or what I'm trying to do simply can't be done. First, I am not using session variables to track state. My...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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
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
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
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.