Sometimes Explorer_WindowStateChanged does not fire while opening new tab.

Posted by Ramveer Singh on Stack Overflow See other posts from Stack Overflow or by Ramveer Singh
Published on 2010-03-20T11:21:50Z Indexed on 2010/03/20 11:31 UTC
Read the original article Hit count: 210

Filed under:
|
|

I am using Explorer_WindowStateChanged to identified tab change event in IE 7 or IE 8.

My problem is, When i open any link in new tab (By right click on link and click on open in new tab), then somtimes Explorer_WindowStateChanged event does not fire and i am not able to detect that a new tab has been opened.

Explorer_WindowStateChanged event is working fine when i am switching between tab. The problem is only when i am opening new tab and the new opened tab is not active (Means active tab is that where i opened link)

Actually i am keeping the count of opened tab. So sometimes 8 tabs are open and my count show that 7 tab are open.

Please help me that how can i ensure that whenever a new tab is opening then after setsite() method, Explorer_WindowStateChanged event must fire.

Please Help

© Stack Overflow or respective owner

Related posts about ie

Related posts about toolbar