JSHelperPopSafeClose Method |
If the current window is a popup window or an iframe hosted in a Bootstrap modal dialog, then the window/dialog will be closed. If not,
the provide non-popup javascript will be executed.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string PopSafeClose(
string nonPopJS
)
Public Shared Function PopSafeClose (
nonPopJS As String
) As String
Parameters
- nonPopJS
- Type: SystemString
The non-popup javascript to use when not a popup/dialog.
Return Value
Type:
StringThe javascript.
See Also