Stop Textbox firing OnClientClick event
<p>The combination of pressing enter on a textbox with a page that has an image button with both a client and server click event is causing the client side event to fire when I press enter in the textbox.</p>

<p>I want to prevent this, am happy to use Jquery or whatever is best. From the Jquery side am struggling to capture the enter key</p>

<pre><code>&lt;asp:TextBox ID="tbName" runat="server"&gt;&lt;/asp:TextBox&gt;

&lt;asp:ImageButton ID="CancelImageButton" ImageUrl="Cancel.gif"   
runat="server"  OnClientClick="alert(); return false;" 
onclick="Cancel_Click"/&gt;
</code></pre>
