S Steve C. Orr [MVP, MCSD] Oct 11, 2004 #2 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 good example: http://www.kamp-hansen.dk/pages/showdoc.asp?id=28&menuid=21&menuid=18 You could also try using this free control. http://www.metabuilders.com/tools/DefaultButtons.aspx And 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 can intercept the client side enter keypress event of the text box and then do what you want using javascript code. Here's a good example: http://www.kamp-hansen.dk/pages/showdoc.asp?id=28&menuid=21&menuid=18 You could also try using this free control. http://www.metabuilders.com/tools/DefaultButtons.aspx And 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