473,412 Members | 4,594 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,412 software developers and data experts.

Forms Navigation

Hi,
I have three ASP.Net Forms,
Homepage,
Page 1,
Page 2.

Page 1 consistes of tabular entry fields and Next button,

Page 2 have a DataGrid that display filtered data based on fields on page 1.
and has a back button(client side script)

Whe I navigate from Page 1 to page 2 I'm using the Server.Transfer Method.

The problem is that: When press back on page 2, the browser direct me to
Home page.

This is a big problem, How can I control the navgation to go back to Page 1,
to refill the filtering criteria.

Note that SmatNavigation is enabled.

Help.

--
MCSD not .Net yet :(
Nov 19 '05 #1
3 989
When you use Server.Transfer, the browser never sees the change. So it
still thinks you are on Page 1. I assume your client side script
triggers the browser's back function, and, since Homepage is the one
you were on before Page 1, that's where it sends you.

Instead of Server.Transfer, try Response.Redirect.

Nov 19 '05 #2
The problem with Response.Redirect is that it depends on GET method parameters.
And I'm interestead in Form Method.
I other words, I don't want to send the parameters over the URL.

Is there any workaround to overcome this problem.
--
MCSD not .Net yet :(
"Phillip Ian" wrote:
When you use Server.Transfer, the browser never sees the change. So it
still thinks you are on Page 1. assume your client side script
triggers the browser's back function, and, since Homepage is the one
you were on before Page 1, that's where it sends you.

Instead of Server.Transfer, try Response.Redirect.

Nov 19 '05 #3
This would be an ideal situation to use panels in....

pnlFirst would contain all the controls from page 1, pnlSecond could have
the datagrid, a "Back" button, would simply hide the second panel and show
the first.
"Shaker" <Sh****@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
The problem with Response.Redirect is that it depends on GET method
parameters.
And I'm interestead in Form Method.
I other words, I don't want to send the parameters over the URL.

Is there any workaround to overcome this problem.
--
MCSD not .Net yet :(
"Phillip Ian" wrote:
When you use Server.Transfer, the browser never sees the change. So it
still thinks you are on Page 1. assume your client side script
triggers the browser's back function, and, since Homepage is the one
you were on before Page 1, that's where it sends you.

Instead of Server.Transfer, try Response.Redirect.

Nov 19 '05 #4

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

Similar topics

0
by: amber | last post by:
Help! In my project, I have a 'navigation' form that opens first, and from there the user chooses from multiple 'modules'. Each module has a 'main' form that contains a menu to open many...
2
by: Greg T | last post by:
Hi, I have a rather long form that I don't want people submitting unless they are absolutely sure they are ready. I figured the easiest way to prevent an accidental form submission by way of...
6
by: MX1 | last post by:
Hi, I've created a series of navigation buttons to be used as a standard across many forms in an Access DB. Does anyone know an easy way to cut and paste these navigation buttons into each new...
6
by: Manny Chohan | last post by:
I am using forms authetication in the web config. i can validate a user against a database and click on images which makes hidden panels visible.However when i click on the link inside a panel...
3
by: FayHuang | last post by:
Hi, I am very new beginner to ASP.NET, but I inherited this ASP.NET project from a person who left our company. So I hope that my problem is fairly simple to solve. Here is the background to...
2
by: PeteSmith | last post by:
I have an application with 2 vb.net forms and an Excel Spreadsheet. I am struggking to get the navigation betwee the forms to work properly On startup frmMain is loaded. This frm has a button to...
1
by: foothills bhc | last post by:
I have a problem with verifying content of controls on a form before closing the form or moving to the next form "record" (i.e., when moving to the next row of my form's record source). HERE'S THE...
4
by: robert.waters | last post by:
Hello, I have a main form that is maximized when my application loads; this main form contains links to all other forms. I've had to specify the Popup property of these other forms, so that...
11
by: loyal2uk | last post by:
I have a DB in A2K that handles client's correspondence - based on a table for client details (tblClients) and one for correspondence - (tblLetters) on a one to many relationship.The detailled...
0
by: Anni | last post by:
Hi, Can anyone please tell me how do I give same namespace for different infopath forms.? I have an XML formed by an infopath form, the XML is : <?mso-infoPathSolution...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.