Here's a full explanation of using the defaulButton property for a form.
This will tell the form that the selected button will be submitted when you
hit enter.  MUCH easier in 2.0.

http://weblogs.asp.net/scottgu/archive/2005/08/04/421647.aspx

On 2/22/07, Rick <[EMAIL PROTECTED]> wrote:
>
>   Hello again:
>
> I am also having an issue with being able to post data. I have a
> PasswordRecovery control that works correctly only is you click the
> submit button. If you type something in the text box and hit enter, it
> pretty much does a post back and ignores the control. Does anyone know
> how to make it so that if you hit enter, it also clicks the submit
> button, or am I doing something else wrong? Thank you very much for
> your time in advance.
>
> Rick
>
>  
>



-- 
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP


[Non-text portions of this message have been removed]

Reply via email to