Calling a button event without postback
<p>I have a button that I want to function like normal, except I don't want it to postback.</p>

<p>If a user clicks it, I want to execute the Button Click event on the next postback, I just don't want that particular button to be able to postback.</p>

<p>I tried this:</p>

<pre><code>&lt;asp:Button ID="ChangeAllBtn" runat="server" Text="Change All" OnClientClick="return false;" OnClick="ChangeAllBtnClick" /&gt;
</code></pre>

<p>But it doesn't call the ChangeAllBtnClick after I postback.
If I remove the "return false;", then there is postback before I want it.</p>

<p>What do?</p>
