Rank: Advanced Member Groups: Member
Joined: 9/6/2007 Posts: 133
|
I am trying to set up a login screen (username, password, and a submit button) within a dialog window. It works fine, except when the user tries to submit the form with the Enter/Return key. In this case, the dialog window just closes without causing the postback. How can I prevent Enter/Return from closing the dialog window? Thanks.
---
EDIT: I got it working. To do it, I set AcceptButtonPostBack="true" and set the AcceptButton to the button used to submit the form.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Glad that you got it working!
|