all groups > asp.net > january 2006 >
You're in the

asp.net

group:

Refresh A Page



Refresh A Page Charles A. Lackman
1/10/2006 11:53:24 PM
asp.net: Hello,

I have an ASPX page that is storing data into a session Variable:
Session("Name") = "Chuck"
When the User clicks "Next" on the page, it naviages to "Details.aspx",

Details.aspx has two frames (one on the left and another on the right).
The Frame on the right loads page "Client.aspx" which has the following code
in the load event:

TextBox1.Text = Session("Name")

The problem is that the load event does not fire when the "Details.aspx"
page is called, rendering the Textbox1.Text Control Empty.

Any Suggestions will be greatly appreciated.

Chuck

Re: Refresh A Page Charles A. Lackman
1/11/2006 9:44:20 AM
Hello,

I have tried both ways described and it is still producing Zero results.

When I put a break point in the Client.aspx page, the load event does not
seem to fire.

Chuck


[quoted text, click to view]
Hello,

I have an ASPX page that is storing data into a session Variable:
Session("Name") = "Chuck"
When the User clicks "Next" on the page, it naviages to "Details.aspx",

Details.aspx has two frames (one on the left and another on the right).
The Frame on the right loads page "Client.aspx" which has the following code
in the load event:

TextBox1.Text = Session("Name")

The problem is that the load event does not fire when the "Details.aspx"
page is called, rendering the Textbox1.Text Control Empty.

Any Suggestions will be greatly appreciated.

Chuck


Re: Refresh A Page Eliyahu Goldin
1/11/2006 10:47:04 AM
Chuck,

May be you are having a caching problem. Try putting a random parameter in
the query part of the url for Client.aspx.

Eliyahu


[quoted text, click to view]

Re: Refresh A Page Lau Lei Cheong
1/11/2006 6:07:07 PM
Try to disable browser caching and see if it helps:

Response.Cache.SetCacheability(HttpCacheability.NoCache);

"Charles A. Lackman" <Charles@CreateItSoftware.net> ¼¶¼g©ó¶l¥ó·s»D:OC97WQoFGHA.1124@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button