Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vvenk - 21 Oct 2005 04:48 GMT
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
mszanto@hotmail.com - 22 Oct 2005 05:05 GMT
Assuming that you've assigned a name to each frame...

top.<framename>.document.location = <url>
vvenk - 22 Oct 2005 13:41 GMT
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

> Assuming that you've assigned a name to each frame...
>
> top.<framename>.document.location = <url>
mszanto@hotmail.com - 23 Oct 2005 23:53 GMT
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

> Hi:
>
[quoted text clipped - 12 lines]
> >
> > top.<framename>.document.location = <url>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.