I have a page which generates four graphs using the ASP.NET 4.0 charting control and displays them. The charts are created in the code-behind on Page Load and added into a table on the page.
My problem is that when the page loads, the first 1 or more graphs (usually just one, but sometimes 2 or 3) are blank (the user gets an empty outlined box of the size of the graph with a red X in the upper left corner).
Refreshing the page causes all graphs to properly render.
Any ideas on how to get the graphs to populate on the first pass?