473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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


Nov 21 '05 #1
1 1206
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

sympatico wrote:
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


Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Neave | last post by:
Yahoo! has launched a beta of it's new mapping application: http://maps.yahoo.com/beta/ It's based in Flash, but it uses JavaScript. I'm curious about one feature, though - when you pan about...
2
by: anand | last post by:
Hello there, Just a small problem while navigating datagrid, i am filling a datagrid by output of query. i have given navigation buttons first,last, next, previous.it is working but the problem...
2
by: Daveyman | last post by:
Hi, I'm having a problem navigating to/from a subweb using forms authentication. The setup in IIS is as follows: TestSite +----SecureDir +----ReportsSubWeb In VS.Net 2003 this has been...
0
by: Stu | last post by:
Hi, I have a VB dot net aspx page which shows the following in a data grid Hidden anchor tag for positiong with unique client id (in the first <td>) Clients name and a plus/minus graphic...
5
by: comshiva | last post by:
Hi all, I have converted my existing ASP.NET project from 1.1 to 2.0 and i have found that everything works fine except the linkbutton control in my datagrid which throws an javascript error when...
1
by: VictorT | last post by:
Hi All, I am trying to create a simple Windows form that lists a users' data one user at a time with the usual "Next" & "Previous" buttons. Upon loading the form, I am able to populate all...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and...
1
by: JohnMOsborn | last post by:
I am designing an Access database that will use tab controls. Normally, you place different sets of fields on each page of the tab control – like Fields1-3 on Page 1, Fields 4-6 on Page 2, etc. In...
5
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.