I have this webservice which is sucking in data about exchange rates, my problem with it is it takes alot of time to load. So i want to get the data loaded async but when i call the GetRatesASync() method it says
"Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event."
Oh by the way im using a soap service and an MVC UserControl if that helps at all and i placed the GetRatesASync() method in protected override void OnPreRender(EventArgs e). So how do I got about getting this bloody data ASync with jquery after the page is loaded. And is there a way to make this getting data thing faster