Visual Studio 2010 compiler not catching missing event handlers in asp.net code behind RRS feed

  • Question

  • I have added an event handler property to a control in the aspx markup in a web application page but I have not added the event handler method to the code behind to the page.  The compiler does not detect the error, but an exception is thrown at run time.  Is there a bug in the compiler?  Or is there a configuration setting that must be applied?  Or some other solution?
    Gerry Franz
    Thursday, March 10, 2011 2:15 PM