473,513 Members | 2,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page output display must be refreshed?

I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework

<%@ Page Language="C#" debug="true" %>
<script runat="server" language="C#">
void Page_Load (object sender, System.EventArgs e)
{
Response.Write("value of email_return is " + ASP.global_asax.EmailReturn);
}
</script>
<HTML>
<HEAD>
<TITLE>Subscribe</TITLE>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
<link rel="stylesheet" type="text/css" href="Colors.css">
</HEAD>
<body>
</body>
</html>

When display this page with IE 6.0 SP1 on a Win2K system it works except of one little thing.
The output displayed in the IE window does not change from the previous output until I do something to cause Windows to refresh the IE
window. Example minimizing and then restoring the IE window or even just running the mouse of the part of the window that has text in it
will cause the text to update to the new output.

I don't think this is expected behavior. Could someone point me to the error of my ways?

Thanks
-------------------------------------------
Roy Chastain
Nov 18 '05 #1
6 1299
I'm not sure, but I'd say that the problem would be that your page is
generating invalid html. If you look at your page's source, it probably
looks something like:

value of email_return is abcde
<HTML>
<HEAD>
<TITLE>Subscribe</TITLE>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
<link rel="stylesheet" type="text/css" href="Colors.css">
</HEAD>
<body>
</body>
</html>


"Roy Chastain" <ro*@kmsys.com> wrote in message
news:og********************************@4ax.com...
I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework
<%@ Page Language="C#" debug="true" %>
<script runat="server" language="C#">
void Page_Load (object sender, System.EventArgs e)
{
Response.Write("value of email_return is " + ASP.global_asax.EmailReturn); }
</script>
<HTML>
<HEAD>
<TITLE>Subscribe</TITLE>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
<link rel="stylesheet" type="text/css" href="Colors.css">
</HEAD>
<body>
</body>
</html>

When display this page with IE 6.0 SP1 on a Win2K system it works except of one little thing. The output displayed in the IE window does not change from the previous output until I do something to cause Windows to refresh the IE window. Example minimizing and then restoring the IE window or even just running the mouse of the part of the window that has text in it will cause the text to update to the new output.

I don't think this is expected behavior. Could someone point me to the error of my ways?
Thanks
-------------------------------------------
Roy Chastain

Nov 18 '05 #2
Since the value in question is apparently being changed asynchronously
outside of your page, this would be the expected behavior. Unless something
causes the Page_Load event to trigger, your page won't do anything.

"Roy Chastain" <ro*@kmsys.com> wrote in message
news:og********************************@4ax.com...
I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework
<%@ Page Language="C#" debug="true" %>
<script runat="server" language="C#">
void Page_Load (object sender, System.EventArgs e)
{
Response.Write("value of email_return is " + ASP.global_asax.EmailReturn); }
</script>
<HTML>
<HEAD>
<TITLE>Subscribe</TITLE>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
<link rel="stylesheet" type="text/css" href="Colors.css">
</HEAD>
<body>
</body>
</html>

When display this page with IE 6.0 SP1 on a Win2K system it works except of one little thing. The output displayed in the IE window does not change from the previous output until I do something to cause Windows to refresh the IE window. Example minimizing and then restoring the IE window or even just running the mouse of the part of the window that has text in it will cause the text to update to the new output.

I don't think this is expected behavior. Could someone point me to the error of my ways?
Thanks
-------------------------------------------
Roy Chastain

Nov 18 '05 #3
Does the Page_Load event not fire when I reference the page in the browser. The value is being changed BEFORE I reference the
page. Once I reference the page, the little IE flag waves and then quits waving. At that point, if I move my mouse across the
text it INSTANTLY changes. (No time for a round trip to a remote IIS server)

On Wed, 12 May 2004 07:09:41 -0400, "Rick Spiewak" <ri*********@mindspring.com> wrote:
Since the value in question is apparently being changed asynchronously
outside of your page, this would be the expected behavior. Unless something
causes the Page_Load event to trigger, your page won't do anything.

"Roy Chastain" <ro*@kmsys.com> wrote in message
news:og********************************@4ax.com.. .
I have the following simple aspx page hosted on a Win2k server with

version 1.0 of the framework

<%@ Page Language="C#" debug="true" %>
<script runat="server" language="C#">
void Page_Load (object sender, System.EventArgs e)
{
Response.Write("value of email_return is " +

ASP.global_asax.EmailReturn);
}
</script>
<HTML>
<HEAD>
<TITLE>Subscribe</TITLE>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="FrontPage.Editor.Document" name="ProgId">
<link rel="stylesheet" type="text/css" href="Colors.css">
</HEAD>
<body>
</body>
</html>

When display this page with IE 6.0 SP1 on a Win2K system it works except

of one little thing.
The output displayed in the IE window does not change from the previous

output until I do something to cause Windows to refresh the IE
window. Example minimizing and then restoring the IE window or even just

running the mouse of the part of the window that has text in it
will cause the text to update to the new output.

I don't think this is expected behavior. Could someone point me to the

error of my ways?

Thanks
-------------------------------------------
Roy Chastain


-------------------------------------------
Roy Chastain
KMSystems, Inc.
Nov 18 '05 #4
That does seem odd. I wonder if this behavior is caused by using an
integrated page. Try putting the code in the code-behind, just for fun.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5
I can't get code behind to work on the hosing service (Earthlink) that my client has chosen. I keep running into CAS errors trying to read
MACHINE.CONFIG. (No, I am not trying to read machine.config, this happens when my application gets initialized and I have code in
global.asax that reads config info from web.config.

I see that you are a mindspring customer. Have you done any asp.net stuff on their hosting service?

Thanks

On Wed, 12 May 2004 21:26:56 -0700, Rick Spiewak <ri*********@mindspring.com> wrote:
That does seem odd. I wonder if this behavior is caused by using an
integrated page. Try putting the code in the code-behind, just for fun.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


-------------------------------------------
Roy Chastain
Nov 18 '05 #6
I haven't used earthlink for ASP.NET, I use a local provider - ACOM
hosting. I have a couple of sites running there.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #7

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

Similar topics

6
3316
by: laura | last post by:
I'm doing a page which gathers some text in the form of a text box in a <form>. This text is saved to a text file, notices.txt and I want to be able to display the saved text on the page, as soon...
8
3363
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...
0
1231
by: Alfons Puig | last post by:
I have a container page with 3 frames (Header, left frame and right frame) In the right frame I load an aspx page having a boounded datagrid with some column templates having a DopDownList in the...
4
1825
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...
13
3240
by: Jim Carlock | last post by:
I have over a hundred pictures I would like to present. Is it practical to create and parse an array of pictures, picture paths, et al using server-side scripting to accomplish this? I...
3
2113
by: Bruce | last post by:
I just started the design of an ASP.NET application which accesses one of our custom web services to provide user authentication, among other purposes. I created a log-in page (code below),...
0
919
nabh4u
by: nabh4u | last post by:
hi, i have a project where i display a web page by geting the values from web service and the web page gets refreshed every 10 seconds. if i dont run the web service, the web page should not get...
0
759
by: joatman | last post by:
I am trying to display pages from a firewalled web server on an accessible web server. I have access to the public web server and the public web server has access to the private one. In a way I...
2
6490
dlite922
by: dlite922 | last post by:
Hey guys been a while since I needed your help. I've got a reporting system (yes same old one) , one button runs the report and builds the html table into the page all nice with CSS, etc, the...
0
7254
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,...
1
7094
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
7519
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...
0
5677
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,...
1
5079
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.