473,385 Members | 1,983 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,385 software developers and data experts.

Reload IFrame Src (VB)

Hello

I have a Test.Aspx page with 3 Web User Controls and a Submit button.
The user controls have an IFrame each.

TopIFrame.src = "top.htm"
LeftIFrame.src = "selectionCriteria.aspx"
CenterIFrame.src = "blank.htm"

The selectionCriteira.aspx has a dtrop down list.

The idea is to refresh the CenterIFrame with the correct Aspx page for
each option.

It all goes well the first time, but every time you select the same
option the CenterIFrame is replaced with the cashed version instead of
the latest page.

How can I force a Reload on the CenterIFrame every time the user
clicks on the button?

Thanks
Ricardo
Nov 19 '05 #1
1 3973
If you are using a <asp:Button then your page should automatically issue a
post back on submit. So you could set the the Iframe to use runat="server"
then on your button click change the src attribute to point to the correct
filename.

"Ricardo" <ri**************@bentley.co.uk> wrote in message
news:ee**************************@posting.google.c om...
Hello

I have a Test.Aspx page with 3 Web User Controls and a Submit button.
The user controls have an IFrame each.

TopIFrame.src = "top.htm"
LeftIFrame.src = "selectionCriteria.aspx"
CenterIFrame.src = "blank.htm"

The selectionCriteira.aspx has a dtrop down list.

The idea is to refresh the CenterIFrame with the correct Aspx page for
each option.

It all goes well the first time, but every time you select the same
option the CenterIFrame is replaced with the cashed version instead of
the latest page.

How can I force a Reload on the CenterIFrame every time the user
clicks on the button?

Thanks
Ricardo

Nov 19 '05 #2

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

Similar topics

7
by: fh | last post by:
hello! I 've a found way to reload my page automatically every n seconde using this code Response.AppendHeader("Refresh", "4"); it works fine but I wish to do the same with only a part of my...
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,...
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...
2
by: ericisjusteric | last post by:
I have a page with multiple iframes and need to have the user (ie6) be able to click a button to refresh any one of the iframes - but also to click another button at the top of the page to refresh...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.