Was my question too challenging for everyone? I thought I would get a much quicker response, complete with witty and (sometimes) condescending remarks
Here's my question again, in case you missed it
How do I reload a page
Notice I did not ask "How do I *refresh* a page". I have no interest in the header meta refresh as this clears out the data I need to show. Also, Response.Redirect does me no good. It completely bypasses the data as well
What I need is something like when you click on the refresh button in IE. It reloads the page, but the data remains. 11 1397
"George" <an*******@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com... Was my question too challenging for everyone? I thought I would get a much
quicker response, complete with witty and (sometimes) condescending remarks. Here's my question again, in case you missed it:
How do I reload a page?
Notice I did not ask "How do I *refresh* a page". I have no interest in
the header meta refresh as this clears out the data I need to show. Also,
Response.Redirect does me no good. It completely bypasses the data as well. What I need is something like when you click on the refresh button in IE.
It reloads the page, but the data remains.
What is a page with respect to csharp? Forgive my ignorance.
---
Tom Tempelaere
George,
I don't think that it was too challenging, but I don't think you were
perfectly clear. What do you mean by "reloading the page, but the data
remains" When you click refresh, it sends the request back to the server to
be processed.
Some pages will have javascript which makes requests to HTTP (through
the MSXML parser, I believe, I forget exactly) and then updates page
elements based on the results, but that's all client side, you can't do much
about that on the server.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"George" <an*******@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com... Was my question too challenging for everyone? I thought I would get a much
quicker response, complete with witty and (sometimes) condescending remarks. Here's my question again, in case you missed it:
How do I reload a page?
Notice I did not ask "How do I *refresh* a page". I have no interest in
the header meta refresh as this clears out the data I need to show. Also,
Response.Redirect does me no good. It completely bypasses the data as well. What I need is something like when you click on the refresh button in IE.
It reloads the page, but the data remains.
George <an*******@discussions.microsoft.com> wrote: Was my question too challenging for everyone? I thought I would get a much quicker response, complete with witty and (sometimes) condescending remarks.
Well, you only waited for an hour and a half. Not exactly a long time,
particularly given that this is a C# group rather than either an
ASP.NET group or a JavaScript group.
Here's my question again, in case you missed it:
How do I reload a page?
Notice I did not ask "How do I *refresh* a page". I have no interest in the header meta refresh as this clears out the data I need to show. Also, Response.Redirect does me no good. It completely bypasses the data as well.
What I need is something like when you click on the refresh button in IE. It reloads the page, but the data remains.
I'm still not entirely sure what you're after - do you want the browser
to contact the server or not? If you do, then the way to make your data
remain is simply to post it to the server and make sure the server
returns it when it serves the page again. If you don't, what change do
you want to be visible?
Could you give a small example page which shows what you're trying to
do?
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Well,
a. this isn't a C# question
and
b. the IE Refresh resends the previous HTTP Request(be it a POST or GET),
so the way to simulate this depends greatly on how your page was originally
constructed. If it was the result of a post your best option is probably
using a Javascript timer to auto-submit a hidden form which has the original
data. If its a get you need to redirect to the same page submitting the
correct querystring values.
HTH
Chris Torgerson
"George" <an*******@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com... Was my question too challenging for everyone? I thought I would get a much
quicker response, complete with witty and (sometimes) condescending remarks. Here's my question again, in case you missed it:
How do I reload a page?
Notice I did not ask "How do I *refresh* a page". I have no interest in
the header meta refresh as this clears out the data I need to show. Also,
Response.Redirect does me no good. It completely bypasses the data as well. What I need is something like when you click on the refresh button in IE.
It reloads the page, but the data remains.
Bravo Tom. That was witty remark #1. :-
Maybe I should have phrased it like so
How do you...using the C# programming language...reload a page
----- TT (Tom Tempelaere) wrote: ----
"George" <an*******@discussions.microsoft.com> wrote in messag
news:51**********************************@microsof t.com.. Was my question too challenging for everyone? I thought I would get a muc
quicker response, complete with witty and (sometimes) condescending remarks Here's my question again, in case you missed it How do I reload a page Notice I did not ask "How do I *refresh* a page". I have no interest i
the header meta refresh as this clears out the data I need to show. Also
Response.Redirect does me no good. It completely bypasses the data as well What I need is something like when you click on the refresh button in IE
It reloads the page, but the data remains
What is a page with respect to csharp? Forgive my ignorance
--
Tom Tempelaer
George wrote: Bravo Tom. That was witty remark #1. :-)
Maybe I should have phrased it like so:
How do you...using the C# programming language...reload a page?
The question _still_ would've been directed at the wrong group. This
group is about the C# programming language.
George <an*******@discussions.microsoft.com> wrote: For example, I have a label control which has some text associated with it. The text "goes away" with a regular refresh because there's a lot of behind the scenes DB access and things of that sort. If I just do an IE reload it's perfect because the label control text remains *and* the DB stuff is kosher. I need a way to do a minor reload as opposed to a complete elimination of data (i.e. a refresh).
Either do the whole thing on the client side with JavaScript, or make
the client submit the data to the server, and make the server return
the new version of the page including all the submitted data.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
In all fairness, if this group is ^strictly^ about the C# programming
language, then probably 95% (if not higher) of the questions shouldn't be
asked here, as they are framework questions, not directly related to the C#
programming language.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"C# Learner" <cs****@learner.here> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl... George wrote:
Bravo Tom. That was witty remark #1. :-)
Maybe I should have phrased it like so:
How do you...using the C# programming language...reload a page?
The question _still_ would've been directed at the wrong group. This group is about the C# programming language.
Nicholas Paldino [.NET/C# MVP] wrote: In all fairness, if this group is ^strictly^ about the C# programming language, then probably 95% (if not higher) of the questions shouldn't be asked here, as they are framework questions, not directly related to the C# programming language.
Yeah, and it's not strictly about the C# programming language now simply
because people are posting off-topic posts here. :-)
George wrote: Was my question too challenging for everyone? I thought I would get a much quicker response, complete with witty and (sometimes) condescending remarks.
You probably chose the wrong group to post this question. How does it relate
to C#?
--
Joerg Jooss jo*********@gmx.net
"George" <an*******@discussions.microsoft.com> wrote in message
news:51**********************************@microsof t.com... Was my question too challenging for everyone? I thought I would get a much
quicker response, complete with witty and (sometimes) condescending remarks. Here's my question again, in case you missed it:
How do I reload a page?
Notice I did not ask "How do I *refresh* a page". I have no interest in
the header meta refresh as this clears out the data I need to show. Also,
Response.Redirect does me no good. It completely bypasses the data as well. What I need is something like when you click on the refresh button in IE.
It reloads the page, but the data remains.
HttpResponse and use ClearHeader then AddHeader or AppendHeader to always
reconstruct the headers to suit your tastes? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave Turner |
last post by:
On some sites there is an image that is dynamically generated at page load,
which simply has a few random characters like "a5J7" printed on it (which
change with each page refresh), and the user...
|
by: dada |
last post by:
here is a structure of tables in a database
CUSTOMERS (CustID*, CompanyName, ContactName, ContactTitle, Address,
City, Region, PostalCode, Country, Phone, Fax)
EMPLOYEES (EmployeeID*,...
|
by: Philip Meyer |
last post by:
1) setting image as Background with alignment in center not
working..help
Explanation :
i need to set a image as background and also it should be
dispalyed in the center.i am using apache fop...
|
by: LineVoltageHalogen |
last post by:
Table DDL:
create table test
(
inId int primary key identity,
inFK int not null,
inSeq int not null,
dtDate datetime
)
|
by: Frankie |
last post by:
I have been hired to go to a former client of mine and train their staff
programmers on ASP.NET. These guys have only Mainframe, MS Access, SQL
Server, and VB6 desktop application development...
|
by: alainpoint |
last post by:
Hi,
I have what in my eyes seems a challenging problem.
Thanks to Peter Otten, i got the following code to work. It is a sort
of named tuple.
from operator import itemgetter
def...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
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...
|
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...
|
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,...
|
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: 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...
|
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...
| |