Tab Order in Ajax ModalPopupExtender
-
Hi, I have an Ajax ModalPopupExtender which contains several textboxes and two buttons, save and close. The problem I am having is that when I use the tab key to move between TextBoxes the ModalPopupExtender loses focus and the focus moves outside of my web page, usually the browser's address bar gets the focus. Anyone else experienced this? If so, did you manage to solve it and how? Thanks for your time :)
-
Hi, I have an Ajax ModalPopupExtender which contains several textboxes and two buttons, save and close. The problem I am having is that when I use the tab key to move between TextBoxes the ModalPopupExtender loses focus and the focus moves outside of my web page, usually the browser's address bar gets the focus. Anyone else experienced this? If so, did you manage to solve it and how? Thanks for your time :)
-
I guess you will manually need to set focus on the first textbox in the modal popup. You can do that in the on showing event of the popup through javascript.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
Thanks for your reply but I have actually tried that. Even then, when I tab from the first TextBox the browser's address bar gets the focus. I will check over my code once more see if I have overlooked something. Thanks again for your time :)
-
Thanks for your reply but I have actually tried that. Even then, when I tab from the first TextBox the browser's address bar gets the focus. I will check over my code once more see if I have overlooked something. Thanks again for your time :)
Did you ever find a solution to this ?
-
Did you ever find a solution to this ?
yes, although I don't recall what the solution was! I will look when I get to work tomorrow.
-
yes, although I don't recall what the solution was! I will look when I get to work tomorrow.
Thanks.....any luck ?