Here's the scenario. I have a number of Sharepoint Web Parts which display data to the user in a grid format. They all connect to a navigation web part which the user can use to select parameters for each of the data grids. On the back end, the grid web part calls a DI container to get an "IDataProvider," which queries some SoR and returns a data table.
Here's what I want to do: I want the grid web parts to be executed in parallel rather than in series, since many of our "IDataProvider" implentations make calls to web services. I tried to spool up a BackgroundWorker in the WebPartManager.ConnectionsActivated event, with a "wait" flag in the "OnPreRender" method, but the server threw an error saying that asynchronous operations were not allowed. When I tried to set the "Async" flag to true on the page layout, I get an error telling me that sharepoint explicity forbids setting the "Async" flag to true.
Is there a workaround for this?