» Programming
-
Code: Setting the DefaultButton property for a PasswordRecovery control in ASP.NetBy Jeremy on June 7, 2008 | 5 Comments
Getting ASP.Net to handle Enter keypresses on a page that has more than one logical “form” has a generally easy solution in .Net 2.0+: just wrap each group of controls in an ASP Panel, set its DefaultButton property to the ID of the proper submit button.




