Solved

How I can periodically call a function in the server without refreshing the page of the client?

Posted on 2007-03-26
4
406 Views
Last Modified: 2013-11-26
I need to call a VB.NET function on the server each X time without refreshing the ASP.NET page of the client.

it is this possible?

I use VisualStudio 2005

Tk.
0
Comment
Question by:darcosys
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
riyazthad earned 500 total points
ID: 18795413
Go for AJAX control , i dont what type of control is using for showing your data. AJAX control is using for this type of purpose, loading page without flickering.
0
 

Expert Comment

by:k2ace
ID: 18796465
I would agree that AJAX would be the best option.  But if you want another way of doing this you can always create a hidden iframe and set the src to a page that calls the function.  In the page that calls the function set the the meta refresh value to some value.

<meta http-equiv="refresh" content="5">
0
 
LVL 1

Author Comment

by:darcosys
ID: 18799420
K2ace

... each X time WITHOUT refreshing ...

:)
0
 

Expert Comment

by:k2ace
ID: 18807309
That is what the hidden iframe is for.  It would cause you main page to refresh.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question