|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Submit Form on Enter PressedWhy does the click event of an image button that submitts a form does not
get fired when ENTER is pressend on a textbox of that form? How can I make this happen? Thanks You can intercept the client side enter keypress event of the text box and
then do what you want using javascript code. Here's a couple good articles on the subject: http://www.allasp.net/enterkey.aspx http://www.aspnetpro.com/features/2004/06/asp200406so_f/asp200406so_f.asp You could also try using this free control. http://www.metabuilders.com/tools/DefaultButtons.aspx Show quoteHide quote "TCORDON" <tcord***@hotmail.com> wrote in message news:uJli4VnSFHA.2964@TK2MSFTNGP15.phx.gbl... > Why does the click event of an image button that submitts a form does not > get fired when ENTER is pressend on a textbox of that form? How can I make > this happen? > > Thanks >
Adding Event Handler to Dynamically added Controls
TabStrip/Multipage using UserControl (.ascx) contained within a UserControl(.ascx) Copy Paste label textbox aspx code How do I transfer a value from a Querystring (codebehind) to a JavaScript function? Form Post Back in ASP.Net 1.1 Treeview IE Web Control and Mac Client side dynamic graphing problem ASP.NET project and Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET How to get the file's name after click the Browse... in HtmlInputFile XML and Session Variables Will Pay! |
|||||||||||||||||||||||