Pull model implement on website

  • Thread starter Thread starter Tommy
  • Start date Start date
T

Tommy

My recent project contains such kind of requirnment, we display the data in
a datagrid, and frequently, the underlying data is subjected to change. We
want to implement a 'pull model' website which will push the data to the
client's browser from the server side at a fixed interval.
I am considering the way to be javascript+webservice,which javascript plays
the role of refreshing the datagrid. I am not an expert of ASP.NET, I guess
there must be some simple way to handle this purely in .net, is anyone of
you have some idea on this?

Thanks in advance.
 
The JavaScript required to pull data dynamically from the server will be
implemented in JavaScript not .NET. Consuming either a web service or an
asp.net web page with JavaScript is pretty trivial once you have the
JavaScript side going.
 
If you put the following line into the HTML header

<META HTTP-EQUIV="REFRESH" CONTENT=n>

the page will be updated every n seconds. Neither javascript nor webservice
is required.

Eliyahu
 
Back
Top