IE10 do not receive events from ActiveX object using IE10 'Document Mode'

1.2k views Asked by At

IE10 do not get ActiveX events using Standard document mode, on previous versions of IE same control fires events, and IE is notified when they are triggered.

I use a code with this pattern to handle the events: 'alert(true);'

'true' is only alerted when using IE9 and lower Document Modes

Any ideas?

2

There are 2 answers

0
daviddv On BEST ANSWER

Found a solution that worked for me in here: http://social.msdn.microsoft.com/Forums/ie/en-US/34a8d6e5-c14a-48ef-af49-a9f970697564/are-activex-control-events-still-supported-in-ie10-standards-mode?forum=ieextensiondevelopment

It demonstrates using 'eval':

eval('function ActivexID::OnLoad(msg) { alert(msg); }');
0
Paul Sweatte On

Here are some reasons: