Page Load Order
I'm using a base class to create every page I have in my project. To build the actual page I use this code.
protected override void OnInit(System.EventArgs e)
Control c1 = LoadControl("footer.ascx");
The problem is, is that if I step through the code, it goes to the actual page's OnInit, then it comes to the base page and runs this override. So the contents on the page show on the top, then the header, and then the footer is added last. Why doesn't this override the OnInit on the page and run in this order? It used to, but I changed something and now I can't figure out what.
Attention to detail. I figured it out. I left some tags out of the HTML that was putting all out of whack.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center