Reload IFrame Src (VB)

Discussion in 'ASP .Net Web Controls' started by Ricardo, Feb 19, 2005.

  1. Ricardo

    Ricardo Guest

    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
    Ricardo, Feb 19, 2005
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    > 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
    Tampa.NET Koder, Feb 19, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ricardo

    Reload IFrame Src (VB)

    Ricardo, Feb 19, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    4,933
    Tampa.NET Koder
    Feb 19, 2005
  2. Steve Richter

    <txt src= ...> equivalent of <img src= ...>

    Steve Richter, Feb 8, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    2,077
    Laurent Bugnion
    Feb 9, 2006
  3. P E Schoen
    Replies:
    3
    Views:
    1,050
    Adrienne Boswell
    Mar 3, 2011
  4. Soren Vejrum
    Replies:
    4
    Views:
    567
    Lasse Reichstein Nielsen
    Jul 5, 2003
  5. Alexandre Jaquet

    iframe.src reload ?

    Alexandre Jaquet, Apr 5, 2005, in forum: Javascript
    Replies:
    3
    Views:
    136
    Alexandre Jaquet
    Apr 6, 2005
Loading...

Share This Page