Problem with navigating to the previous screen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sympatico

    Problem with navigating to the previous screen

    Hi,

    We are working on a .NET application. In our project, most of the
    interfaces use frames. We have a problem accessing previous page using
    frames.

    Let us say we have a page A that does not use any frames. Then from
    this page, say control goes to Page B that has two frames. On the right
    frame, I have some data capture fields. When the user makes some data entry
    and then decides to 'Cancel' out of the page, the control is moving back to
    page A. But the problem is that the entire page A (that does not use any
    frames) is coming in the right frame of page B and the Left frame of Page B
    is still visible. It should actually move BACK to the previous page
    completely. (i.e, the resultant page should be without any frames as it is
    page A).

    Any help in this regard would be greatly appreciated.

    Thanks




  • ggalloway@gmail.com

    #2
    Re: Problem with navigating to the previous screen

    I'm assuming this is a web app right?

    If so, whatever button they use to "Cancel" could run client-side code
    such as:

    window.parent.l ocation.href='p age A.aspx';

    This should cause the parent frameset to load page A without frames.

    HTH
    Greg

    sympatico wrote:[color=blue]
    > Hi,
    >
    > We are working on a .NET application. In our project, most of[/color]
    the[color=blue]
    > interfaces use frames. We have a problem accessing previous page[/color]
    using[color=blue]
    > frames.
    >
    > Let us say we have a page A that does not use any frames. Then[/color]
    from[color=blue]
    > this page, say control goes to Page B that has two frames. On the[/color]
    right[color=blue]
    > frame, I have some data capture fields. When the user makes some data[/color]
    entry[color=blue]
    > and then decides to 'Cancel' out of the page, the control is moving[/color]
    back to[color=blue]
    > page A. But the problem is that the entire page A (that does not use[/color]
    any[color=blue]
    > frames) is coming in the right frame of page B and the Left frame of[/color]
    Page B[color=blue]
    > is still visible. It should actually move BACK to the previous page
    > completely. (i.e, the resultant page should be without any frames as[/color]
    it is[color=blue]
    > page A).
    >
    > Any help in this regard would be greatly appreciated.
    >
    > Thanks[/color]

    Comment

    Working...