In ASP.NET, what conditions would cause OnServerClick="foo" to fail, so that "foo()" never gets called?
<p>I've written an ASP.NET application that runs on thousands of sites.   But at least at one site, the following code fails:  </p>

<pre><code>void foo(Sender o, EventArgs e)  
{
    ....
}

&lt;input runat="server" ....  OnServerClick="foo" ...
</code></pre>

<p>Have you ever experienced the OnServer events failing?  I experimented at this site and couldn't come up with exactly the magic that makes it fail, but IIS Windows Authentication might be related, or this line of code might be related, based on turning things on and off, commenting things out:  </p>

<pre><code>void Page_Init (object sender, EventArgs e) {ViewStateUserKey = Session.SessionID;}
</code></pre>

<p>But how would these things be related?  And again, this same code works at thousands of other sites.</p>

<p>So, have you ever encountered OnServer events failing triggered by setttings or conditions that were outside of your code?</p>
