Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Reload IFrame Src (VB)

Reply
Thread Tools

Reload IFrame Src (VB)

 
 
Ricardo
Guest
Posts: n/a
 
      02-19-2005
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
 
Reply With Quote
 
 
 
 
Tampa.NET Koder
Guest
Posts: n/a
 
      02-19-2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reload page when HTML in <iframe src> changes P E Schoen HTML 3 03-03-2011 06:17 AM
<txt src= ...> equivalent of <img src= ...> Steve Richter ASP .Net 3 02-09-2006 08:44 PM
iframe.src reload ? Alexandre Jaquet Javascript 3 04-06-2005 07:17 AM
Reload IFrame Src (VB) Ricardo ASP .Net 1 02-19-2005 07:29 PM
Problem: Setting MSIE iframe innerHTML change relative href/src to absolute href/src Soren Vejrum Javascript 4 07-05-2003 01:47 PM



Advertisments