?
Solved

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

Posted on 2007-03-26
4
Medium Priority
?
462 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 1500 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

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.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview
Suggested Courses

862 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