ICaramba

Miguel Castro's blog about .NET and its effect on National Security, the Eco-system, and his daughter's sleeping patterns.


News

My Stats

  • Posts - 120
  • Comments - 69
  • Trackbacks - 145

Twitter












Recent Comments


Recent Posts


Archives


Image Galleries



Blogs I read


Links


Microsoft DCCs



I started using nested Master Pages in Orcas last week and ran into a small snag.  I could not get a break point to fire on the Page_Load in the child Master Page's code-behind class.  In fact I noticed that the code wasn't running at all.  After 30 minutes of beating my head against the wall, I tried changing the Page_Load method to an override of OnLoad and that worked perfectly.  Then it ocurred to me to check the AutoEventWireup value in the Page directive and sure enough it was set to False.  This is the first situation I've seen where it does not default to True so if you come across this, jump straight there and you should find the problem.

posted @ Monday, September 10, 2007 11:13 AM |

Comments

Gravatar # re: Something interesting (and annoying) in VS2008
Posted by Kris Krause on 9/10/2007 5:30 AM
Ah.... the frustration... Grrr.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: