Click or drag to resize

IWizardTemplateActionScript Method (String, String, String)

Generate action script for the specified action. If the specified action is set on the page then script is generated for it. If not, a null/empty string is returned.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
string ActionScript(
	string actionPrefix,
	string defaultAction,
	string defaultTarget
)

Parameters

actionPrefix
Type: SystemString
The action prefix, "Cancel" or "Finish" or, in theory, "Delete".
defaultAction
Type: SystemString
If there is no preference for the provided action prefix, then perform the provided default action.
defaultTarget
Type: SystemString
If there is no target preference for the provided action prefix, then use the default target.

Return Value

Type: String
The generated action script, if any, else a null/empty string.
See Also