views:

8

answers:

0

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