debuggingeventsactivexinternet-explorer-10forward-compatibility

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


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?


Solution

  • 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); }');