473,387 Members | 3,787 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,387 software developers and data experts.

Keeping Values of a Form

Hi Guys,

I'm switching between Webpages using "Server.Transfer()" in a buttons Called
"Continue >>" and "<< Back", but when going back to the previous form the
values in the textboxes are lost !! How can I keep them without using
Sessions?
Thanks Guys,
Dec 5 '06 #1
2 1185
Hi Badis,

If you are orrite with having the page from the Browsers cache when back
button is pressed, just add the following javascript on the client side event
of the Back button.

history.go(-1);
Regards,
Hameer Saleem

"Badis" wrote:
Hi Guys,

I'm switching between Webpages using "Server.Transfer()" in a buttons Called
"Continue >>" and "<< Back", but when going back to the previous form the
values in the textboxes are lost !! How can I keep them without using
Sessions?
Thanks Guys,
Dec 5 '06 #2
Look at the cross-page posting feature. You may want to use it instead of
Server.Transfer.

http://msdn2.microsoft.com/en-us/library/ms178139.aspx

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Badis" <Ba***@discussions.microsoft.comwrote in message
news:E3**********************************@microsof t.com...
Hi Guys,

I'm switching between Webpages using "Server.Transfer()" in a buttons
Called
"Continue >>" and "<< Back", but when going back to the previous form the
values in the textboxes are lost !! How can I keep them without using
Sessions?
Thanks Guys,

Dec 5 '06 #3

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

Similar topics

0
by: Suzanne | last post by:
Hello experts, I am a VBA newbie. Most of the tricks I apply to my applications I learn from here or google. I couldn't find a solution for the following two things, they both are related to...
1
by: Cindi | last post by:
Hi, Another newbie with a question that I hope someone can point me in the right direction. The goal is to populate a text box with data according to the selection in a combo box while still...
1
by: Simon | last post by:
Hi all, I need to maintain state between two pages but for two pissy reasons I can't use the Session object and the Query String isn't ideal because its too easy to tamper with. I'm wondering...
1
by: Alan Silver | last post by:
Hello, I have a page in which I'm trying to give the user the chance to manipulate a list of items. These are the price variations for a product, so each item consists of a name (eg, small,...
3
by: robboll | last post by:
I am building an ASP.NET data entry form and when I change the values per the dropdowns and click "save", the old values remain. Are there any suggestions on how to update the variables to the...
7
by: David Lozzi | last post by:
Howdy, I have a usercontrol in my aspx page and when the page loads, I send it some property values based on the data displayed. I am sending it to a public property like below. However the...
2
by: De_Cisse | last post by:
Hi all, I'm working on an application in which I already make some preparations to be able to work in a frontend and backend database, even if this isn't the issue a this moment. I'm using VBA...
1
rcollins
by: rcollins | last post by:
I have a form where I input a clients name. In the subform, I enter all of the personal information. After inserting Names, as soon as the subform is current, all of the default values go blank. How...
1
by: guestghost | last post by:
Hi, I am new here and new to Access and VB. I know C++, but I have a school project which requires me to design a database in Access :S! (Pardon my terminology, VB is not my first language!) I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
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...

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.