473,395 Members | 1,986 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,395 software developers and data experts.

Reload after going back

CC
Newbie here. I figured out how to use jscript and history.go(-2) to
go back to a previous page. However, I want that page to reload in
order to show the updated information.

i.e.
-user is on pageX, clicks link to pageY
-user adds "John Doe" in a textbox and clicks on a submit button (this
adds the name to database)
-I want control to go back to pageX, which now shows John Doe's name
in the listbox.

A reload would accomplish this, but how can it be done? Is there
anyway to force the pageX's Page_Load event to be invoked upon return?

(I'm using C#)

TIA
Nov 18 '05 #1
1 1234
CC
This seemed to work for me...

(put in Page_Load event of pageX)

Response.Cache.SetCacheability(HttpCacheability.No Cache)
Response.Cache.SetExpires(DateTime.Now)

cg****@yahoo.com (CC) wrote in message news:<86**************************@posting.google. com>...
Newbie here. I figured out how to use jscript and history.go(-2) to
go back to a previous page. However, I want that page to reload in
order to show the updated information.

i.e.
-user is on pageX, clicks link to pageY
-user adds "John Doe" in a textbox and clicks on a submit button (this
adds the name to database)
-I want control to go back to pageX, which now shows John Doe's name
in the listbox.

A reload would accomplish this, but how can it be done? Is there
anyway to force the pageX's Page_Load event to be invoked upon return?

(I'm using C#)

TIA

Nov 18 '05 #2

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

Similar topics

66
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. ...
2
by: Kim Therkelsen | last post by:
Hi! By pressing a button I am directed from one page to another. At the second page some things displayed on the first page are changed and now I want to go back to the first page again. The...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
8
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some...
5
by: Just D. | last post by:
All! Does anybody know how to fix the issue? Machine was working perfectly with WinXPPro and IE6 and all latest service packs, maybe just excluding WinWord from the Enterprise Office 2003, the...
7
by: Schmidty | last post by:
Okay...I have another 'newbie' question; I have a function that loads a page and the action is $_SERVER; In the form that is in a function(method?) within a class a variable is passed back to...
3
by: =?Utf-8?B?bWF2cmlja18xMDE=?= | last post by:
Hi, I have a page and if a user posts back data the page would open at the top. This is not a problem if the user was looking at the content on the top of the page , but if the page is long and...
2
by: ramanaths | last post by:
Hi I have a page that shows many thumbnail images. on load of this page i have some code that invokes a javascript which shows a message saying 'loading images'... this is hidden once all the...
7
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
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: 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: 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
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,...
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...

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.