473,403 Members | 2,323 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.

Auto Refresh Page

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 recordset table on the 2nd graph page and because the
user gets to it by clicking the graph, the page doesn't properly post to
render the recordset table. I can click "Refresh" on 2nd page and table
displays fine.

Is there an ASP refresh command that I could possibly run to mimick a
"Refresh" or F5?
Jul 19 '05 #1
3 12876
> 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 recordset table on the 2nd graph page and because the
user gets to it by clicking the graph, the page doesn't properly post to
render the recordset table. I can click "Refresh" on 2nd page and table
displays fine.
Well, if you mean that it is not showing the newest results, you could try
to prevent caching.
http://www.aspfaq.com/2022

Otherwise, could you explain what's different about the first time they load
the page, and when they click refresh. I don't know what "properly post to
render the recordset table" means. What recordset? What table? Could you
show enough code for us to reproduce the problem?
Is there an ASP refresh command that I could possibly run to mimick a
"Refresh" or F5?


Yes, you could add a refresh header with a very short timeout.
http://www.aspfaq.com/2158

But I suggest you fix the problem, rather than band-aid it.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
All actions happen on parent page called "dt_chartc.asp". Below code
displays the clickable graph that user clicks, then the page displays the
2nd graph. The 1st and 2nd graph actually reside in the file
"dt_chartcx.asp", it displays different results depending on variables.

Problem is that on the users "click", the parent page only shows the linked
graph contained inside "dt_chartcx.asp" and I have a simple table below the
graph showing the data that makes the graph. After clicking the graph, I can
hit "Refresh" and the data table will display.

I wish I could give you more code, but it's all related to this graph
control and wouldn't run. To sum it up, because the graph control is a link
and also that it produces it's own query string that can't be added to, I
can't use some of the asp form tricks that we usually use.

Even if I could make the 2nd level display know about a refresh variable,
how could I force a page to refresh 1 time, just as it would if I hit the
refresh button?

<a href='http://10.0.9.2/myserver/dt_chartc.asp'>

<img src='http://10.0.9.2/myserver/dt_chartcx.asp' ISMAP BORDER='0'>
</a>
"Aaron Bertrand [MVP]" <aa***@TRASHaspfaq.com> wrote in message
news:OT*************@tk2msftngp13.phx.gbl...
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 recordset table on the 2nd graph page and because the user gets to it by clicking the graph, the page doesn't properly post to
render the recordset table. I can click "Refresh" on 2nd page and table
displays fine.


Well, if you mean that it is not showing the newest results, you could try
to prevent caching.
http://www.aspfaq.com/2022

Otherwise, could you explain what's different about the first time they

load the page, and when they click refresh. I don't know what "properly post to render the recordset table" means. What recordset? What table? Could you show enough code for us to reproduce the problem?
Is there an ASP refresh command that I could possibly run to mimick a
"Refresh" or F5?


Yes, you could add a refresh header with a very short timeout.
http://www.aspfaq.com/2158

But I suggest you fix the problem, rather than band-aid it.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

Jul 19 '05 #3
HI Scott,

To refresh a page, you may call some client script like:

Windows.Navigate "http://10.0.9.2/myserver/mypage2.asp"

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 19 '05 #4

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

Similar topics

1
by: Lew | last post by:
Hi all, I'm trying to create a page that has a user-selectable page auto-refresh option (IE 5.5). Essentially, it's a page that contains a checkbox, when the user checks the checkbox, I'd like...
3
by: blu3g85 | last post by:
how to redirect a page? as in after a few sec, the page will auto direct u to another page. ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----...
2
by: MattB | last post by:
I have a page I've migrated from HTML to asp.net that would auto-refresh every 30 seconds. I did this by putting the following in the <head> section: <meta name="refresh" content="30"> But now...
7
by: Brian | last post by:
hello, I am looking for a way to auto refresh a web page that I created, but also let the user choose to stop the auto refresh. I can not figure out how to stop the auto refresh. Any help would...
4
by: jack-e | last post by:
How do I auto refresh a page a particular time of the day?
3
by: tinuananster | last post by:
Hi, I need to auto refresh a page after a specific time interval. When the page is accessed the first time, a request parameter is null and hence it gets redirected to a welcome page (static...
3
by: lezzo | last post by:
Hi Guys, I am new to this forum and find very interesting. I need your help in one of the script. I got a MySQL table bid_amount, and i want that if some new data comes in this table and...
1
by: BibhuAshish | last post by:
hi, I have designed a jsp page. This jsp is able to auto refresh after 5 second. But i want after 5th times of auto refreshment the table present inside the body should change. Can anybody...
2
by: =?Utf-8?B?QW1pciBUb2hpZGk=?= | last post by:
Hi I have a web page that has a TreeView on it. If I DONT'T expand the TreeView nodes, the auto refresh works nicely: my page gets refreshed every minute. As soon as I expand a node on the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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
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...

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.