Problem with navigating to the previous screen

  • Thread starter Thread starter sympatico
  • Start date Start date
S

sympatico

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
 
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.location.href='page A.aspx';

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

HTH
Greg
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top