473,406 Members | 2,343 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,406 software developers and data experts.

Using the back button from the internet explorer

Hi,

I have written a C# web app and need to simualte the Back button.

Like : Response.Redirect;
Except: Response.Back;

I found that I need to use the History.Back but cannot get it to work

Any help would be great!

Thanks,
Bryan

Nov 19 '05 #1
2 1279
Bryan,

You should do this in the client(Java Script). using some thing like
<input type=button onclick='history.back();'>

If you're using a server control button to "go back" you may register
the client script code like below.

Button1.Attributes.Add("onclick","history.back();r eturn false;");

Hope this helps,
Souri Challa

Nov 19 '05 #2
Microsoft wrote:
Hi,

I have written a C# web app and need to simualte the Back button.

Like : Response.Redirect;
Except: Response.Back;

I found that I need to use the History.Back but cannot get it to work

Any help would be great!


What exactly do you mean by "simulate the Back button"? Resend the
previous response? Redo the previous request?

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #3

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

Similar topics

16
by: | last post by:
At the moment I am getting the following Expired Warning if a user logins into a secure page and attempts to press the 'back' button: Warning: Page has Expired The page you requested was created...
3
by: Rajagopal | last post by:
Hi, I have one main page where i have 3 frames. From main page i will open some other report page by clicking on a button. Now if i click the Internet Explorer Back button then it is not...
2
by: Rob Smeets | last post by:
Hi I was wondering, is it possible to disable the back button in internet explorer. Our Website is hosting a Siebel website, and the problem is that Siebel has problems with the use of the back...
0
by: Ivan K | last post by:
Hi, This is probably more of an Internet Explorer-related problem but I thought I would crosspost to microsoft.public.dotnet.framework.aspnet as this problem has probably occured for other...
2
by: JIM.H. | last post by:
Hello, I have two apsx pages, and I set a session variable in asp1 and click to a button to go to aspx2. In aspx2, I use this session variable in the query and show data on the datagrid. I do this...
7
by: Sridhar | last post by:
Hi, I have a question regarding the Page_Load method and Back Button of Internet explorer. I have created a webform. In that webform I have several Text Boxes. Also I have two buttons. When I...
2
by: OBAFGKM_RNS | last post by:
Let's say I have a Javascript function that loops over and over. In that function i have it alternating images on a button this way: if(var==0){ var myHTML = "<input type='button'...
3
by: ysakaed | last post by:
Hi I am trying to get the content of the iframe to replace the content inside a div here is the code i use. function changeContent(content) { var buf = content + "_2"; var iframe =...
1
by: ganeshlal | last post by:
hai, i have a mail server and in that when a person loggedout another one can easily enter the previous ones mail simply cliking the back button of the internet explorer.my question is how to...
2
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if...
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.