Sunday, March 11, 2012

ModalPopup causes wrong (or no) button to be clicked

I believe this is due to the browsers themselves and not Atlas. Something that might be good to try would be to remove the ModalPopupExtender (and all of Atlas if you'd like) from your page and see how the browsers behave (maybe add OnClientClick to the buttons for informational purposes). I think the results will be the same (i.e., it's the browser's decision), but would like to know if it's otherwise.

Hi David,

I'm on a tight release schedule and haven't had time to follow up on this (or other threads), but I stumbled across a couple of other threads on the subject. Hopefully they cast some more light on the issue:

Validation on Textboxes - Problems when pressing "enter"

ASP.NET 2.0 - Enter Key - Default Submit Button

Hope this helps,

Tor.

No comments:

Post a Comment