IsDialogRunning Method



 
The IsDialogRunning method returns whether a dialog of a specified type is running.


Syntax

    [bool=] SiteCafe.UserInterface.IsDialogRunning(dtype)
    
Parameters
    dtype String that specifies the type of dialog.
Return Value
    Returns a Boolean value that indicates whether a dialog of the specified type is running.
Remarks
    You can handle existing dialogs defined in the browser skin files or own dialogs.
Examples
    The following example determines if an "actionforbidden" dialog exists and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.UserInterface.IsDialogRunning("actionforbidden"));
    </SCRIPT>

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top