473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Pull model implement on website

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.
Nov 18 '05 #1
3 1340
Yes, one way would be to use web services. Use client side code to manually
call back to your server and then update the necessary parts of the UI
yourself via DHTML and javascript. For this you'll probably need to use the
web service behavior.
Here's more information on that:
http://msdn.microsoft.com/library/de...e/overview.asp
http://msdn.microsoft.com/library/de...s/overview.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Tommy" <to***@kaiyunzhu.net> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
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.

Nov 18 '05 #2
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.
"Tommy" <to***@kaiyunzhu.net> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
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.

Nov 18 '05 #3
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

"Tommy" <to***@kaiyunzhu.net> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
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.

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: AMDIRT | last post by:
I have a few questions about IssueVision (from WindowsForms) concerning its scalability and performance. Rather, if I were to implement techniques described here into another application, how...
6
by: Robert W. | last post by:
I'm building my first major C# program and am try to use best practices everywhere. So I've implemented the "Document/View Model" whereby: - There's a Windows Form, which we'll call "formView" -...
5
by: kuljitsingh | last post by:
I remember making a client/server application using Java and CORBA where the server was pushing any change data to all the clients. I have not ventured the same area in C#. Is there a way to...
10
by: Shawn | last post by:
Hi, For a few years, I have been developing each of my clients websites using a seperate web site (unique IP) to solve problems with relative URL's between my local dev station and the...
0
by: guidopapinino | last post by:
What I want to do is have 2 pull down lists, for example a state pull down list and a city pull down list. What I would like to have done is when you select a state from the state pull down list...
1
by: Anders Borum | last post by:
Hello! I was wondering if I am the only person missing the option of outputting a single dll for a website (just like the good old v1.1 compilation model)? What I'm looking for is the ASP.NET...
1
by: Dan | last post by:
Hi Am interested in learning more about Model View Presenter (MVP) design. Specifically to create an application using vs2005 with winforms that use webservices to process business logic. I...
8
by: Spam Catcher | last post by:
Hi all, From what I read, VS.NET 2005 doesn't precompile web applications into a DLL for deployment, rather you need to manually precompile before release. However, I have a web application in...
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.