RTC Automation Events

fabschfabsch Member Posts: 3
edited 2013-12-17 in NAV Three Tier
hi,
I have a problem with the events of an XML automation ('Microsoft XML, v3.0'.DOMDocument). In a Form I can access the events without problems. In a Page this doesnt work.
Can I force it, that automation is running on the client and I can access the events?

Below the code yet.

Form:
Form - OnInit ()
CREATE (g_autXMLDom);

Form - OnOpenForm ()
g_autXMLDom.loadXML ('<root></root>');

g_autXMLDom:: onreadystatechange ()
MESSAGE ('event2');

Page:
OnInit ()
CREATE (g_autXMLDom, TRUE, TRUE);

OnOpenPage ()
g_autXMLDom.loadXML ('<root> </ root>');

g_autXMLDom:: onreadystatechange ()
MESSAGE ('event2');

In the Form of the message appers in the Page not. Does anyone have an idea how I can catch the events in a Page?

Greeting

Comments

Sign In or Register to comment.