How to write a DOM listener

Add-in Express™ Support Service
That's what is more important than anything else

How to write a DOM listener
Need to listen after login page and need to check successfully authentication 
Jack Nerman




Posts: 15
Joined: 2011-06-17
Hallo,

How to write a DOM listener on particular tab of IE ?

I need to listen on particular page that, after login page person successfully logged-in or not.

Jack
Posted 17 Jun, 2011 06:48:45 Top
Andrei Smolin


Add-in Express team


Posts: 17943
Joined: 2006-05-11
Hi Jack,

I suppose you are looking for the NavigateComplete and DocumentComplete events of the module, correct?

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Jun, 2011 07:01:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7234
Joined: 2004-07-05
Hi Jack,

To connect to HTML events you can use the ADXIEHTMLDocEvents component. The rest of the functionality you need to implement by yourself. And it depends on the HTML/JavaScript code used on the login web page.
Posted 17 Jun, 2011 07:06:56 Top
Jack Nerman




Posts: 15
Joined: 2011-06-17
Thanks,

Is it possible that you send me a sample code that How to use "ADXIEHTMLDocEvents" component from add-in express.

Jack
Posted 17 Jun, 2011 07:10:32 Top
Sergey Grischenko


Add-in Express team


Posts: 7234
Joined: 2004-07-05
You just need to right click on the iemodule/toolbar/bar file in the Solution Explorer and open it in the Design View. Then right click on the designer surface and choose the 'Add ADXIEHTMLDocEvents' option.
Posted 17 Jun, 2011 07:15:15 Top