asp.net override
<p>what are the pros and cons of using a standard event handler or overriding the base class of an asp.net page? Are there any? I've seen both used to do the same thing.</p>

<pre><code>protected void Page_PreInit(object sender, EventArgs e)
{
    //Put your code here
}

protected override void OnPreInit(EventArgs e)
{
    base.OnPreInit(e);
    //Put your code here
}
</code></pre>
