I have page with some asp.NET
form stuff on it, including drop down lists and a calendar.
I had trouble with stuff being NULL, so I tried putting in a breakpoint in my constructor. It stopped at the breakpoint before the page first loaded as it should. Then I stepped past it and the page loaded. I then chose a date in the calendar and it stopped at my breakpoint.
I don't use the event of date chosen for anything. Actually, my page only uses the event when the button on it is clicked. But somehow, it looks like my constructor is called at all events.
Is this true? How can this be true? Does it make an entirely new instance of the page at each event fired?
ASP.NET MVC
tag it accordingly.