Solved

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

Posted on 2007-03-26
4
422 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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