Is it possible to display a loading message or graphic while processing a function?
I currently have a controller which carries out all the functionality before returning the view. However as part of the function includes a ServerXMLHTTP process, it can take upwards of 30 seconds while connecting to the 3rd party server. This is obviously not ideal for the user to which they observe a blank screen as the user waits for the xmlHttp.readyState
to complete.
Any help would be much appreciated :-)
I found this solution to work perfectly for what I need, please see http://blog.michaelckennedy.net/2012/11/13/improve-perceived-performance-of-asp-net-mvc-websites-with-async-partialviews/
as this was most helpful.