title: How can I load an ASP.NET GridView from multiple sources asynchronously?
body: <p>Here is the situation. I need to hit ~50 servers and grab some data from a file. I then want to display a few rows for each in an ASP.NET GridView control.</p>
  
  <p>I tried doing this with Threads/ThreadPool and successfully gather all the data in session.</p>
  
  <p>What I'd like to do, and what I am having a hard time figuring out, is update the grid for the user after each server is done loading.</p>
  
  <p>If I put the databinding code in the thread, it will only display whatever has loaded by the time the response is sent back to the client.  If I take it out of the thread, I'd have to wait until all threads were done to send the response, and that doesn't do what I want.</p>
  
  <p>Anyone have any ideas? I seeing some stuff about <a href="http://www.simple-talk.com/dotnet/asp.net/asynchronous-client-script-callbacks/" rel="nofollow noreferrer">Asynchronous Client Callbacks</a>, but I'm not sure if that's what I need to be using. I have no idea how to manipulate a GridView from Javascript.</p>
  
  <p>Thanks for any help you can provide.</p>