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

How To? Reload webapps main page.

Good morning all,

I have a page that has a frameset with three frames. It
is called Default.aspx. This is the main way into my app.
On a page in the main frame, thats the right frame, of
the frameset I want to reload the whole app on a btn
click event.

How would I do this in code behind from that page?
Using vb I am.

So
Apps Page = Default.aspx
Frame pages =
Left = Menubar.aspx
Right = Main.apsx
Bottom = Status.aspx
The btn-click code is on Main.aspx

thanks
Deasun
Nov 17 '05 #1
1 4041
Deasun,

You'll have to reload the frame using client side code.

You can still trigger this client side code from the code behind page
though. I would suggest turning the body tag into a server control and then
adding the javascript to change the frame to the onload event of the body
tag.

I have some sample code for using the body tag as a server side control on
my website, www.aboutfortunate.com. The entry you need is titled: Use the
"body" tag as a server control and just happens to be the second entry in
the datagrid so it will be easy to find.

If you need help creating the javascript itself just post back here or feel
free to email me. I'd be glad to help with that also.

Sincerely,
--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Deasun O'Donnachadha" <ti*****@mail.com> wrote in message
news:0a****************************@phx.gbl...
Good morning all,

I have a page that has a frameset with three frames. It
is called Default.aspx. This is the main way into my app.
On a page in the main frame, thats the right frame, of
the frameset I want to reload the whole app on a btn
click event.

How would I do this in code behind from that page?
Using vb I am.

So
Apps Page = Default.aspx
Frame pages =
Left = Menubar.aspx
Right = Main.apsx
Bottom = Status.aspx
The btn-click code is on Main.aspx

thanks
Deasun

Nov 17 '05 #2

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

Similar topics

2
by: kimbuba | last post by:
Hi all, i'm writing cause i'm not able to find any good resources about this topic. I'm programming on tomcat and i have my browser open to see changes i made. The problem is that i'd like to see...
4
by: jesper | last post by:
Hi there. I have migrated from tomcat 4.1.31 to tomcat 5.5.7 I have a setup with many virtual hosts. I ame using the option in 5.5 to put context information in...
3
by: sentinel | last post by:
Hi all, I'm trying to reload a frame from a pop-up, but really cannot figure this out. Within my index.htm file, I make a link to call a pop-up frame with a javascript function that calls the...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
2
by: Edward | last post by:
Hi, all, I read one thread here, about Refresh page, now my question is, default.aspx which include login pane and one frame, <iframe name=main></iframe> after login succeeds, I add...
5
by: Chen Zhigao | last post by:
My main html page contains an IFrame in which another html page is shown. The main page can trigger my CGI program to re-generate the IFrame html page with quite some data from a database. However,...
5
by: David T. Ashley | last post by:
Hi, I have an application where I use a left frame to navigate to another page in the main frame. After I've done this, when I use "RELOAD" in the browser, it goes back to the original page...
7
by: Raffi | last post by:
I'm facing a tricky (at least for me) page reload/refresh scenario and need some help. I'm working on a web application which is primarily used with MSIE. The application has a main window with...
0
by: androusm | last post by:
Hi all, I have a problem with reload my servlet with tomcat 5.0.27 My servlet is the one example of the struts "struts-example". I also make changes and want to reload it by tomcat 5.0.27. ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.