OnClientClick (Method)

Applies To:

ControlsCheckBox, ControlsCommandButton, ControlsDropDown, ControlsListBox, ControlsTextBox, ControlsRadioButton, EventScript object

Description:

Launches a client-side JavaScript OnClientClick event when a user clicks on a control or enters text in a text box in the EPM Workspace. Any client-side JavaScript associated with an OnClientClick event gets triggered. For more information on client-side JavaScript, see Client-Side Events in Oracle Hyperion Interactive Reporting Object Model and Dashboard Development Services Developer's Guide, Volume I: Dashboard Design Guide.

Syntax:

Expression.OnClientClick()

Expression Required:

An expression that returns an object for any of the following:

Example:

This example shows how to invoke a command button event handler:

MyDashboard = ActiveDocument.Sections["Dashboard"]
MyDashboard.Controls["CommandButton1"].OnClientClick()