473,395 Members | 1,978 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,395 software developers and data experts.

Refresh A Page

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
Jan 11 '06 #1
3 1273
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
"Charles A. Lackman" <Ch*****@CreateItSoftware.net> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
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

Jan 11 '06 #2
Try to disable browser caching and see if it helps:

Response.Cache.SetCacheability(HttpCacheability.No Cache);

"Charles A. Lackman" <Ch*****@CreateItSoftware.net> ¼¶¼g©ó¶l¥ó·s»D:OC**************@TK2MSFTNGP10.phx.g bl...
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

Jan 11 '06 #3
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
"Charles A. Lackman" <Ch*****@CreateItSoftware.net> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
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

Jan 11 '06 #4

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

Similar topics

3
by: Scott | last post by:
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph. Problem is, I have a...
1
by: Marco Maroni | last post by:
How to force image refresh on client browser ? Is ti possible to force the refresh of the same image (tha was changed server-side) to the client, without user press Contrl+F5 in IE ? - Marco
2
by: Jeronimo Bertran | last post by:
Hi, I have a page with a very data intensive grid which needs to be automatically refreshed constantly if a change is detected. In order to not refresh the complete page so often, I created an...
1
by: francois | last post by:
I have a ASPX form with a dropdownlist that makes a post back (to the same page of course, just a normal asp.net postback) That page also has an auto refresh javascript as it needs to refresh its...
9
by: PK9 | last post by:
I'm having an issue with the "Refresh" of an asp.net page. The refresh is actually calling my last onClick event. I thought that asp.net was supposed to be stateless in that it shouldn't...
0
by: Brad White | last post by:
Overview: I have a custom web app that has an 'Inbox' that refreshes every 30 seconds. One user uses Outlook to host the web page. Using IE, the refresh works fine. If the user is working in...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
8
by: Jason S | last post by:
Hi, is there any way of getting my VB (6.0) program to automatically 'Refresh' an IE window that might be active (window status not applicable). It needs to be able to determine which active IE...
10
by: phforum | last post by:
Hi, I wrote a PHP page for user input the information to search the database. And the database data will update every second. I want to set the auto refresh to get the data from database every...
5
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi, I used the following code to refresh the parent page, and it works very well (Thanks to Peter Bromberg "). Response.Write("<script language='javascript' type='text/javascript'{...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.