Here's another solution which worked for me. I'm not sure how this would be
done in cs but in vb, you can put a procedure in the code behind file to
handle 'textChanged' of a textbox:
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles TextBox1.TextChanged
// do stuff
End Sub
Penn White
pennwhite@h...
----- Original Message -----
From: <soltisa@W...>
To: "aspx_beginners" <aspx_beginners@p...>
Sent: Friday, February 14, 2003 3:45 PM
Subject: [aspx_beginners] Using Enter to submit form
> Does anyone know the code to submit a form when you hit enter? What I
have
> is a form with one text box and one submit button. I am also using code
> behind.
>
> Alvin Soltis
> PCS Center Technology
> "The less you have, the less you have to worry about"