Siebel Object Interfaces Reference > Interfaces Reference > Applet Events >
The Applet_Load event is triggered after an applet has loaded and after data is displayed.
You can use this event with form applets to dynamically hide or manipulate controls or set properties on an ActiveX Control. The following controls can be dynamically modified: CheckBox, ComboBox, TextBox, TextArea, Label.
NOTE: Do not use the SWEAlert or RaiseErrorText methods in this event to display a popup. This can cause the browser to fail if the application has not yet been fully rendered in the browser.
Use this event to dynamically hide or manipulate controls or set properties on a control. The following controls can be dynamically modified: CheckBox, ComboBox, Label, TextArea, and TextBox.
NOTE: This example is only applicable to code on form applets.
function Applet_Load ()
// Get the control instance.
var ctrl = this.FindControl("FirstName");
// Hide the control
// Hide the label