开发者

iframe takes focus on loading page in asp .net

开发者 https://www.devze.com 2022-12-09 10:28 出处:网络
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 s

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消