Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now