Event
SYS. application. init : The script is loaded, before the object is created.
SYS. application. Load Script Loading. The object is created and initialized. pageload ()
SYS. application. Unload Pageunload () occurs in window. Unload ()
Init eventBrowser-basedWindow. onloadEvent,
Triggered only when the page is initialized for the first time. It is used to establish a reference relationship between components.
The load and unload events of the Application Object do not need to be explicitly bound to bind an event processor function to these events. Instead, you can directly use the reserved keywords pageload and pageunload to create corresponding functions.
Method
SYS. application. addcomponent ()
SYS. application. Dispose ()
SYS. application. findcompont ()Returns the specified component object.
Shortcut $ find ()
SYS. application. getcomponents ()
SYS. application. initialize ()
Application initialization can occur only one time in the page life cycle. Any subsequent callto initialize just call the raiseload method.
SYS. application. policyscriptloaded ()Notifies scriptmanager that a script has been loaded.
SYS. application. queuescriptreference ()
SYS. application. raiseload ()
SYS. application. registerdisposableobject ()Register an app object that requires dispose
SYS. application. removecomponent ()
SYS. application. unregisterdisposeableobject ()
SYS. application. iscreatingcomponents(Property)
------------------------------- Event attributes ----------------------------
SYS. applicationloadeventargsClass
Provides a specialized event arguments collection for the load event of the application class.
All components created when the last load event of components (property) occurs
Whether ispartialload (property) is partially refreshed
------------------------------- Order of event triggering on the page --------------------
-> Loading page for the first time
APP: Application init. [Application initialization]
APP: application load. [application load] (ispartialload = false) [whether to partially refresh]
Page: load. [page loading]
-> Triggered without refreshing
PRM: initializing async request. [initialize asynchronous request]
PRM: Begin processing async request. [start to process asynchronous requests]
PRM: Loading results of async request. [loading the result returned by the asynchronous request]
--> [Updatepanel being updated] panelsupdating = 1 (nestedpanel)
--> [Updatepanel being deleted] panelsdeleting = 0
PRM: Finished loading results of async request. [The result of loading an asynchronous request is completed]
--> [Updatepanel updated] panelsupdated = 1 (nestedpanel)
--> [Updatepanel created] paneslcreated = 0
APP: application load. [application load] (ispartialload = true) [whether to partially refresh]
Page: load. [page loading]
PRM: End of async request. [end of an asynchronous request]
-> Disable page
Page: Unload. [unmount the Page]
APP: Application unload. [uninstall application]