Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Passing data between Forms 3 20
Testing of the web services 1 32
reading excel file in .net 2 14
.NET Enums [Flags] & Bitwise Design Question 6 21
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 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