Click here to Skip to main content
15,903,203 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?


Thanks
Arun.
Posted
Comments
vaibhav10Dec1987 23-Apr-13 6:45am    
Keep that graph inside in ajax update panel. While on page load update that panel.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900