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

Too Challenging?

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.
Nov 16 '05 #1
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
Nov 16 '05 #2
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.
Nov 16 '05 #3
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
Nov 16 '05 #4
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.
Nov 16 '05 #5
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

Nov 16 '05 #6
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.
Nov 16 '05 #7
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
Nov 16 '05 #8
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.

Nov 16 '05 #9
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. :-)
Nov 16 '05 #10
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

Nov 16 '05 #11
"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?

Nov 16 '05 #12

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

Similar topics

3
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...
6
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*,...
0
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...
17
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 )
18
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...
5
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...
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: 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
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
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.