Disable enter click event On dynamically created textbox

Sudhanshum
Sudhanshum used Ask the Experts™
on
Hi I am creating dynamic Textbox in one of application, Problem is that I want to disable enter click event on that textbox, so if I will do enter click then it will not do anything means no postback. Is it possible? Or Can I connect my particular textbox with one of button click event? There are 10  dynamic textbox and 10 dynamic buttons.

regards,
Sudhanshu
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Software Engineer
Top Expert 2009
Commented:
Se the AutoPostBack property to false.

if more help needed please provide sample code and generated html, to see whether you need to To block the enter key at javascript level

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start Today