title: ASP.Net MVC Loading In Progress Indicator
body: <p>I have an MVC Controller that runs through a process, sets some View Data, and then returns the results of this data back to the user in a View.  The process time is dependent on the amount of data that is being processed.  I need a good way to display an animated .gif within the View while the process is running, letting the user know that something is going on.  </p>
  
  <p>I've looked at various AJAX methods and partial views but still cannot find a good way to accomplish this.  What I really wished I could do was have an ActionFilter that would return a View or Partial View during the OnActionExecuting event that displays this animated .gif, then once the Controller completed processsing and returned the ViewData, the view or partial view with the actual View Data could be displayed.  </p>
  
  <p>It also seems like jQuery would be able to provide a nice asynchronous way to call the controller action in the background and then render the View.  Any help would be appreciated.</p>