The Modal Alert control is an alert that can to be fired when a specified event has occurred. When the Modal Alert appears on the screen, the user needs to handle this control or close it out before the user can return to the “main” screen
The Modal Alert control comes with easy to configure appearance options.
Like almost all SPARK controls, you can trigger events that are fired when the user interacts with the control (see the Event and Methods sections below and the Event Handling article for more information).
This control is most commonly used when needing to alert the user about something important and not allowing them to continue until they close the Modal Alert window.
These are the configuration option settings for the Modal Alert...
These are the configuration option settings for the Button...
The Modal Alert text is set under the General properties...
When the button is clicked this is the result...
Visibility of the Modal Alert should be set to 'None', otherwise the Modal Alert will be visible as soon as the page loads.
With the Modal Alert control, there are 2 types of event handlers:
- On Load When the page loads
- On Close When the Modal Alert window is closed
For detailed information on the available methods for this control, access the JS Doc file.
- Author: Dan Abresch
- Date Created: June 8, 2015
- Date Modified: August 31, 2015