There are 3 clients that looks at same data instance, one of them edits data and submits on server, what are the mechanisms to make the other two clients instantly see the updated data ? I am thinking of some AJAX poll from time to time that will force page reload if there are changes or some page expire , is there anything else ?
A:
You can simple use Timer
to AJAX update with 1000ms interval.UpdatePanel
Svisstack
2010-07-02 12:10:39
Never use updatepanel in asp.net mvc (I wouldn't use it in webforms ether for that matter).
Mattias Jakobsson
2010-07-02 12:14:06
I would advise against using the updatepanel. It's a too heavy control to be used in any application, espcially for such frequent updates. Updatepanels still send back and forth the whole viewstate (in webforms). It's mostly better to use javascript/jQuery solely for enhanced performance and less overhead.
XIII
2010-07-02 12:19:35
+1
A:
You can make use of the jQuery ajax stack. This already is included when you make an ASP.NET MVC application in Visual Studio.
XIII
2010-07-02 12:17:42