Hitting Enter - Which button ?http://forums.asp.net/t/341597.aspx/1?Hitting+Enter+Which+button+Thu, 18 Sep 2003 14:20:16 -0400341597341597http://forums.asp.net/p/341597/341597.aspx/1?Hitting+Enter+Which+button+Hitting Enter - Which button ? IF you have more than one button in the page, and you hit enter it seems like a gamble to which one will be activated, so my question is can you specify which BUTTON is clicked when someone hit ENTER. 2003-09-18T10:52:45-04:00341725http://forums.asp.net/p/341597/341725.aspx/1?Re+Hitting+Enter+Which+button+Re: Hitting Enter - Which button ? <i>Unless<i> one of those buttons already has the &quot;focus&quot; (either by the user clicking but then releasing the button or by using the Tab key, or it's focused through JavaScript), then <i>none</i> of the buttons are recorded as having been clicked. Rather, an ASP.NET page simply &quot;posts back&quot;. Anyway, that is my understanding and experience. </i></i> 2003-09-18T13:23:49-04:00341731http://forums.asp.net/p/341597/341731.aspx/1?Re+Hitting+Enter+Which+button+Re: Hitting Enter - Which button ? Go to www.metabuilders.com. There is a (free) button control there which acts as the defauls button when you placve it on your page. 2003-09-18T13:27:26-04:00341790http://forums.asp.net/p/341597/341790.aspx/1?Re+Hitting+Enter+Which+button+Re: Hitting Enter - Which button ? Pop over to here: http://www.net-language.com/CodeExample.aspx?i=596 Helped me out with the same problem. You get to tell each control which Button to click when the user presses the Enter key.. 2003-09-18T14:18:38-04:00