473,386 Members | 1,702 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.

Moving back a page

Hi,

Does anyone know if its possible to make the browser navigate back by one
page in response to a button press. This has to be done in an event handler
in code behind.

The reason I want the browser to go back, rather than just Response.Redirect
is because I want the fields on the previous page to be populated without
having to use the session object or something similar. I want it to act
essentially as a back button

Thanks all

Simon
Nov 18 '05 #1
2 898
not really. You will have to pass it to a clientside event

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Simon Harvey" <si**********@the-web-works.co.uk> wrote in message
news:eC****************@TK2MSFTNGP10.phx.gbl...
Hi,

Does anyone know if its possible to make the browser navigate back by one
page in response to a button press. This has to be done in an event handler in code behind.

The reason I want the browser to go back, rather than just Response.Redirect is because I want the fields on the previous page to be populated without
having to use the session object or something similar. I want it to act
essentially as a back button

Thanks all

Simon

Nov 18 '05 #2

you can try to use the client side javascript of, history.go(-1)
use -2 to go back two pages

if you are doing an application using web, my experience told me, this will cause a lot of problem
just be careful with your data

:

----- Simon Harvey wrote: ----

Hi

Does anyone know if its possible to make the browser navigate back by on
page in response to a button press. This has to be done in an event handle
in code behind

The reason I want the browser to go back, rather than just Response.Redirec
is because I want the fields on the previous page to be populated withou
having to use the session object or something similar. I want it to ac
essentially as a back butto

Thanks al

Simo

Nov 18 '05 #3

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

Similar topics

6
by: Astra | last post by:
Hi All I've noticed on quite a few ASP sites that when they have a 'MyAccount' section they transfer the site to https and then when you have logged into your account successfully and gone back...
5
by: Kay | last post by:
Hello, I have two list boxes on my form, one initially displays with items and the other displays blank, by clicking a button, it is possible to move items from one box to another and vice a...
4
by: Nick Wedd | last post by:
I have a test page http://www.files.maproom.org/00/12/q/w.html which almost does what I want. The idea is that, when you hover the mouse over one of the dates near the top of the page, it...
2
by: Paul Wagstaff | last post by:
Hi all Our organisation is moving form Win NT / full version of Acc 97 to Win XP / run-time version of Acc 03 (as part of Office 03) for the users. We have heaps of mdbs on the servers - some...
2
by: fuzzybr80 | last post by:
I am using MySQL 5.0 with a number of innodb tables whose ibdata files are growing quite quickly and filling up the /var partition (file is /var/mysql/ibdata1). Earlier on I followed instructions...
4
by: jay_dev | last post by:
i have this slight of problem my page displays a div tag each time a new info is inserted but if i hit the back history button,move back to an earlier page then come back to the one i was working...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
15
by: mcjason | last post by:
I saw something interesting about a grid pair puzzle problem that it looks like a machine when you find each that work out the way it does and say with all the others that work out the way they...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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...
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.