Re: How to do a post back when user press enter.



Either you use javascript functionality to do document.myform.submit() or you let the user press enter twice,
so that he gets onto submit-button on pressing enter in input-field.


Am Sun, 29 May 2005 14:56:14 +0200 schrieb <"guoqi zheng"<no@xxxxxxxxx>>:

In a regular html form, when user press "enter" key, the form will be
submitted.

However, in ASP.NET web form, a form will only be submitted (post back) when
a special button is clicked. Many user get used to click "enter" key to
submit a form. How can I use "enter" key to submit/postback in ASP.NET.


Thank,

Guoqi Zheng
http://www.ureader.com



-- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ .


Loading