CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    4

    Question Two page refresh

    I'm experiencing something odd with my asp programmed website. The good is pretty lengthy, so I'll just post an explanation of what I am trying to do.

    I got a webpage with an Iframe in the middle. The Iframe displays an order's details, while the 'outside' part has basic order information (MemberID etc.)

    On the outside part of the webpage I got links to earlier orders. When I click on it, I want both the Iframe and the outside webpage to be refreshed with the orderdetails grabbed from the database.

    This is when it gets odd. I just can't get it to refresh both pages. If I simply direct the browser to the webpage that is loaded in the Iframe then it will load the order details without any problems. If I direct the browser to the webpage that has the Iframe in it, it will load the basic order information, but the webpage that goes into the Iframe with the order details just comes up with an error.

    I'm pretty new to server-side scripting. So.. is there any theoretic reason to why you can't refresh two pages simultanously?

    Would appreciate any help!

  2. #2
    Join Date
    Jan 2003
    Location
    17°22' N - 78°29' E
    Posts
    198
    It has nothing to do with the Server sided things...

    One soution is make use of java script on the client side and refresh the frames you like only....

    Other aleternative is ....Dont use IFrames at all...

    If the I frame doe not load(across slow connections they give problems...), the user is lickly to refresh...He may resubmit orders or some such thing may happen...and you must be careful of the compatability...

    Hope this helps...

    ============
    ~ Lord Loh ~
    ============

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured