Is it possible to catch missing event handlers at compilation?
<p>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</p>

<pre><code>&lt;asp:TextBox ID="uxFeeQty" runat="server" MaxLength="2" Columns="2" 
    AutoPostBack="true" 
    OnTextChanged="ReCalculateFees" 
    style="text-align:right;" /&gt;
</code></pre>

<p>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.</p>
