473,545 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4050
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.c om> 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
9498
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 changes immediatly, is there a way to do this, but using start-stop-reload from tomcato manager admin? I tried to add this to server.xml ...
4
11069
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 /CATALINA_BASE/conf///context.xml.default in server.xml each host is defined like this <host name="name.example.com" autoDeploy="true"... appBase="webapps"/>
3
4568
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 following code from an external javascript source file, dynamically created with PHP document.write('<a href="javascript:void(0);"
19
31016
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(). The problem is that after the reload, it brings you right to the top of the page. When I click 'refresh" on the original page, it brings me back to...
2
1470
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 RegisterStartupScript("Reload", "<SCRIPT Language='Javascript'>main.location.reload()</" & "Script>")
5
5390
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, the content shown in the IFrame does not refreshed sometimes unless I click the browser refresh button. I even use ...
5
1742
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 rather than the one I've navigated to. If you go to this page: http://fboprimedevel.e3ft.com
7
24517
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 an i-frame in it. The i-frame contains various dynamic links for opening data entry popups. One of these popups has a couple of i-frames itself....
0
1343
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. So I tried it with ant and I 've following relevant entrys in the build.xml file : <project name="My Project" default="compile" basedir=".">
0
7479
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7411
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5987
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3468
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.