AJAX modalpopupextender pressing enter when cancel is focused doesn't trigger cancel

Posted by Jonn on Stack Overflow See other posts from Stack Overflow or by Jonn
Published on 2010-03-22T07:32:26Z Indexed on 2010/03/22 7:41 UTC
Read the original article Hit count: 311

Filed under:

Been using the Ajax modalpopupextender. I used a script to set focus on the cancel button when it gets showed on the page but when I press enter (expecting that cancel would've been triggered since it was focused) it went ahead and triggered the event for the OK button (which, unfortunately was a delete event). I've tried using various methods for focusing on the Cancel button and trying to make it work. Anyone know how to make this work?

© Stack Overflow or respective owner

Related posts about modalpopupextender