Is there any way to cause a compilation error if an ASP.NET control declares an event handler that is not implemented? For example, I declared a TextBox
<asp:TextBox ID="uxFeeQty" runat="server" MaxLength="2" Columns="2"
AutoPostBack="true"
OnTextChanged="ReCalculateFees"
style="text-align:right;" />
but neglected to implement the ReCalculateFees event handler. This error wasn't apparent until I browsed to the page and it threw a run time exception. Is there any way to catch this error at compile time? I could subscribe my handlers in code rather than declaratively but that would require a significant clean-up effort.