The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ActionBaseExtensions.GetProcessActionOnServerScript(ActionBase, String) Method

Returns a script to be processed on an Action execution on the server-side and runs an additional script on client-side.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.Mobile.v19.2.dll

Declaration

public static string GetProcessActionOnServerScript(
    this ActionBase action,
    string onActionProcessedClientScript
)
<ExtensionAttribute>
Public Shared Function GetProcessActionOnServerScript(
    action As ActionBase,
    onActionProcessedClientScript As String
) As String

Parameters

Name Type Description
action ActionBase

An Action on whose execution, a client script will be executed.

onActionProcessedClientScript String

Returns

Type Description
String

A string that is a script to be processed on an Action execution on the server-side.

Remarks

If you want to execute your script after Action's server-side processing and before closing a current window, call the GetProcessActionOnServerScript method as shown below:

singleChoiceAction.RegisterClientScriptOnExecute("AlertScriptWithProcessOnServer", singleChoiceAction.GetProcessActionOnServerScript("debugger;"));
See Also