The object I’m using is <asp:Chart/>. I built it using Visual Web Developper 2010’s binding tool:

I changed the look and behavior with the properties pannel and a CSS sheet. Everything was coming out fine until I accidently double-clicked on the chart. This added a myChart_Load method to my code. Now if I boot my page with the empty chart load method, my chart disappears from the screen as if it was only looking in the chart_load to see what to do, see nothing then don’t show anything, forgetting the binding tool and properties/CSS.
Then if I delete
protected void myChart_Load(object sender, EventArgs e) {
}
the empty load above, the compiler crashes and says it is expecting a load method. Any idea why it’s behaving like this?
I don’t know about why adding a Load handler it doesn’t come back, but it’s erroring now because in the markup, it added the event handler reference there
OnLoad="myChart_Load", so it looks for this, can’t find it, and throws an exception.