ASP.NET Page_Init Fired Twice!
asp.net
Solution
Let's make sure we cover the basics here:
Do you have any controls on your page that have server events? If so, remember that every postback re-creates the entire page. So, to handle an event means running all of the code required put the page together, including your Init and Load events.
Always two there are, no more no less. A request and a response.
Problem
I have AutoEventWireup="true" and in my code behind ``` protected void Page_Init(object sender, EventArgs e) { } ``` When I'm debugging, the Page_Init method is getting fired twice! Whats going on?