views:

82

answers:

3

I have a form on my web page, it allows to submit many queries to my website, every query is on a separate line in TextArea. Because waiting for all queries to complete is too long I would like to update the web page after every query completes - send result of one query to a web browser, new result should be appended to old results that are already on the web page.

How to do this in ASP.NET MVC 2?

I will be grateful for helpful responses.

Update

Thank you for all your answers but I decided to use JavaScript in web browser to poll server for data, here is my question about it http://stackoverflow.com/questions/2908936/cant-disable-jquery-cache

A: 

Read about Comet

Some projects from codeplex:

CD
I've read it, it is too general. I was hoping for some code examples in ASP.Net MVC.
robert_d
http://stackoverflow.com/questions/2259633/how-to-implement-reverseajax-comet-in-asp-net-mvc
CD
A: 

I would just flush using Response.Flush() each time when you complete part of the request.

svick