views:

55

answers:

0

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?