Modal window tabbing

Hi,



I have a modal popup window that loads an aspx page in it. After tabbing through all the controls in the modal popup, the control moves back to the parent window while the modal window is still showing.



Can we prevent this behaviour? I don’t want the control to go the parent window when a modal window is open.



Thanks!


Hello,


please have a look at the dhtmlx.com/docs/products/kb/inde … al&q=12762 answer. Possibly it’ll help to resolve the issue.


Thanks for the response.



I do need to tab through the controls in the modal window, so i cannot disable the tab key.



Any suggestion?


We can’t provide any other solution. The onkeydown gets event object as an argument. So, it’s possible to get object ob the html element where event is fired. Probably this information can help.


document.body.onkeydown=function(e){


/your code here/
}