Disable LinkButton when OnClick Event Fires
<p>I have an asp:LinkButton as follows:</p>

<pre><code>&lt;asp:LinkButton ID="LinkButtonNewServicesCategory" runat="server" 
    OnClientClick="this.disabled=true;return false;" 
    style="float:left;margin-right:5px;" CausesValidation="False"&gt;new services category&lt;/asp:LinkButton&gt; 
</code></pre>

<p>The intent is that when the LinkButton is clicked, it disables itself and returns false to prevent the postback (this control is used as a trigger for an animation). </p>

<p>The behavior I'm experiencing is that the LinkButton correctly triggers the animation and returns false, but does not disable itself. </p>

<p>It's inside an updatepanel, but I'm sure that no postback is occurring. </p>

<p>Why doesn't this.disabled=true work?</p>
