By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,905 Members | 879 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,905 IT Pros & Developers. It's quick & easy.

Page output display must be refreshed?

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.