I have a web resource that displays some additional info about the primary entity (Client).
The web resource is an HTML page with a DIV. The function that populates this resource is in a separate JS file, which is loaded as a library for the form and is called from the Form's OnLoad event.
It works just fine when the form is loaded or hard-refreshed(F5).
However, if the user visits any related links on the left and then comes back to the Main, the HTML page displays only empty div - the loaded information is gone, and Form's OnLoad event is not fired.
Question: what event of what object shall I hook up with (instead of Form's OnLoad) to make sure the Web Resource information is displayed correctly regardless of user's extra navigational trips?
I tried web resource's "body on load", but that one is called too often, whether it's needed or not...
The ideal solutions would be somehow keeping the info, which is lost (HTML reloaded w/o triggering Form's OnLoad) or, at least, ensuring that OnLoad is fired.
TIA
Nikolai