Applet_Load Event
Siebel CRM calls the Applet_Load event after it loads an applet and displays the data for that applet. It does not return any information.
Format
Applet_Load()
No arguments are available.
Usage
To hide or manipulate controls or to set properties on an ActiveX Control in a form applet, you can use the Applet_Load event. You can manipulate the following types of controls:
CheckBox
ComboBox
TextBox
TextArea
Label
If you must display a dialog box, then do not use the SWEAlert method or the RaiseErrorText method with the Applet_Load event. This technique can cause the browser to fail if Siebel CRM has not fully rendered the Siebel application in the browser.
Used With
Browser Script
Examples
You can use the following example only with code on a form applet:
function Applet_Load ()
{
// Get the control instance.
var ctrl = this.FindControl("FirstName");
// Hide the control
ctrl.SetProperty("Visible","false");
// Hide the label
ctrl.SetLabelProperty("Visible", "hidden");
}