I had the following code in my page, and I couldn't figure out why I was getting a stack overflow problem.
protected void Page_Load(object sender, EventArgs e)
{
base.OnLoad(e);
//Other code
}
for those who don't quite see the error, the call to the base class causes another call to the Page_Load method in this class and recursion that never ends is ensured.
What I meant to have is:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
//Other code
}
It's good to make a dumb mistake once in a while, keeps me from thinking too much of myself. :)