Wednesday, April 8, 2009

Error executing child request for ChartImg.axd., charts collide I think, 2 charts next to each other


Error:

Error executing child request for ChartImg.axd.


Well I've been trying to get two charts to work next to each other inside an update panel and hide them until I clicked a button to view the results, thus keeping an empty chart from view and I keep getting some strange results. More to the point an error like what you see to the left.

The only solution I found was to change the visible property of the chart from false in the designer true, run it and make sure it showed up and then add it back and check to make sure it showed up. Very strange... the only answer I can guess as to why this would be is that the Ajax is colliding or that the two charts got disconnected somehow in the back ground.

Microsoft Charting

Recently I've been required to do some charting and one of my coworkers had done some research on charting functionality and came across Microsoft's charting controls. Now I've linked to Scott Guthrie's blog because it has a complete list of the components of the charting.

They're relatively easy to use, such as charting goes. As I figure things out I'll post stuff.