Welcome Guest Search | Active Topics | Sign In | Register

Dialog with login screen Options
quirtep
Posted: Friday, June 4, 2010 9:49:52 AM
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.
eo_support
Posted: Friday, June 4, 2010 9:56:54 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Great. Glad that you got it working!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.