473,763 Members | 8,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

automatic reload

fh
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Append Header("Refresh ", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck
Nov 19 '05 #1
7 1926
Use an iframe.

Eliyahu

"fh" <fh@fh.com> wrote in message news:dd******** **@s1.news.olea ne.net...
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Append Header("Refresh ", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck

Nov 19 '05 #2
fh wrote:
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Append Header("Refresh ", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck


Nope...
You will have to have an Frame/iFrame or an ActiveX component on the
client.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #3
fh
Thank you for your response,
but it's not a control, isn it?

this is the frames that are created within a frameset?

Eliyahu Goldin wrote:
Use an iframe.

Eliyahu

"fh" <fh@fh.com> wrote in message news:dd******** **@s1.news.olea ne.net...
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Appe ndHeader("Refre sh", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck


Nov 19 '05 #4
iframe is a frame that can be used as a regular html control in any place an
the page, like a table cell or a panel. If you separate the part you want to
reload into a separate page, you can put it into an iframe and make it
reload. The rest of the page won't be affected.

Eliyahu

"fh" <fh@fh.com> wrote in message news:dd******** **@s1.news.olea ne.net...
Thank you for your response,
but it's not a control, isn it?

this is the frames that are created within a frameset?

Eliyahu Goldin wrote:
Use an iframe.

Eliyahu

"fh" <fh@fh.com> wrote in message news:dd******** **@s1.news.olea ne.net...
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Appe ndHeader("Refre sh", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck


Nov 19 '05 #5
fh
thanks for your help!
Eliyahu Goldin wrote:
iframe is a frame that can be used as a regular html control in any place an
the page, like a table cell or a panel. If you separate the part you want to
reload into a separate page, you can put it into an iframe and make it
reload. The rest of the page won't be affected.

Eliyahu

"fh" <fh@fh.com> wrote in message news:dd******** **@s1.news.olea ne.net...
Thank you for your response,
but it's not a control, isn it?

this is the frames that are created within a frameset?

Eliyahu Goldin wrote:
Use an iframe.

Eliyahu

"fh" <fh@fh.com> wrote in message
news:dd******** **@s1.news.olea ne.net...
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Ap pendHeader("Ref resh", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck


Nov 19 '05 #6
fh wrote:
Thank you for your response,
but it's not a control, isn it?

this is the frames that are created within a frameset?

Eliyahu Goldin wrote:
Use an iframe.

Eliyahu


What s/he's getting at is that you cant do it with a control, only with
a "page".

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #7
may i know what is iframe? Is it a frameset control?

"Curt_C [MVP]" wrote:
fh wrote:
hello!
I 've a found way to reload my page automatically every n seconde using
this code
Response.Append Header("Refresh ", "4");

it works fine but I wish to do the same with only a part of my aspx page
that will reload to the server
all the rest of the page has to stay static

if I use a web User control but it reload all the page?

is there any way around?

thanks

Franck


Nope...
You will have to have an Frame/iFrame or an ActiveX component on the
client.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

Nov 19 '05 #8

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

Similar topics

66
3905
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. >It was a good idea, but the implementation simply >doesn't do what the idea promises. I agree that it does not really work as most people think it does, but how
1
2144
by: Emmanuel | last post by:
Hi, I use a 'reload all' feature in my app, that allow to reload every module. I first try this version : import sys def Reload():
2
26278
by: JR | last post by:
Is there a script available to automatically reload images on visiting a page? I change images once a week and they have the same name so I'm not changing the page code. Some people have the previous week's image in their cache. I'd rather not put a message line on the page asking the visitor to hit the refresh button nor use a code that reloads the whole page unless reloding the page is an only option. Thanks for your suggestions, ...
1
2234
by: Federico | last post by:
I want to create an automatic log system that writes to a ofstream (the logfile) all the output sent to screen. I tried to make a class COutput with the operator << overloaded for the different kind of data types, but a problem arrived when I tried to use io manipulators such as setprecision. I have this in class COutput: COutput& operator<<(ios& (*fnc)(ios&)) { (*fnc)(cout); // For the screen (*fnc)(logfile); // For the logfile (an...
19
31068
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). The problem is that after the reload, it brings you right to the top of the page. When I click 'refresh" on the original page, it brings me back to the original viewing position. Is there a way to duplicate this in from the popup window. Also,...
9
2978
by: andrewfelch | last post by:
Hello all, I'm using the metaclass trick for automatic reloading of class member functions, found at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164 My problem is that if I 1) pickle an object that inherits from "AutoReloader" 2) unpickle the object 3) modify one of the pickled' object's derived class methods 4) reload the module holding the class
8
12619
praclarush
by: praclarush | last post by:
Ok, I'm new to JavaScript and I'm taking a class for it the assignment in it I'm supposed to create edit a pre-made page to display a marquee that automatically scrolls for the user, as well as give an option to start, stop and reset the marquee. Now I have most of this done already, what I'm having problems with is that when i start the marquee it moves to the right, but i need to have it move from the bottom, upwards. heres my code (I'm not...
2
1369
by: Alan Baljeu | last post by:
I need a solution for automatically reloading files I edited. This is in a unit testing/fixing context, so there shouldn't be much problem with leftover data. I just need to be able to call a reload_changed() method of some sort before rerunning tests. Stopping and restarting the python interpreter (it's embedded) might be an option if (a) that's feasible within a process and (b) it's quick. Alan Baljeu...
0
1506
by: Alan Baljeu | last post by:
Alan Baljeu http://www.collaborative-systems.org Intelligent software that works _with_ you. ----- Forwarded Message ---- From: Alan Baljeu <alanbaljeu@yahoo.com> To: Mike Driscoll <kyosohma@gmail.com> Sent: Friday, November 14, 2008 2:06:26 PM
0
9387
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10148
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10002
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7368
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6643
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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 we have to send another system
2
3528
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.