Fire an ASP.NET TextBox event on enter press
<p>How do i fire a ASP.NET click event when the user press enter.</p>

<p>This is what i do now but it does not work:</p>

<pre><code>function KeyDownHandler(event) {
    if (event.keyCode == 13) {
        __doPostBack('&lt;% ButtonGetListforUser.ClientID %&gt;', 'OnClick');
        isClicked = true;
    }
}
</code></pre>
