iframe takes focus on loading page in asp .net
I am using iframe for reading pdf on page load. I have alt + Q as a shortcut for toggling data pane on/off. Now the problem is that while loading page iframe takes focus from my active browser so my shortcut doesn开发者_运维问答't work until i take focus back from iframe to my current active window of that page in which i have loaded my pdf for reading.
Please find me some solution to take focus from iframe on loading page in asp.net application.
have you tried setting the focus to some other control in the main window on page load?
精彩评论