Disable 2 buttons on form submission ( ASP.NET )
<p>I have this solution for a single button:</p>

<pre><code>myButton.Attributes.Add("onclick", "this.disabled=true;" + GetPostBackEventReference(myButton).ToString());
</code></pre>

<p>Which works pretty well for one button, any ideas on how to expand this to 2 buttons?</p>
