SupportClientScriptsExtensions.SetClientScript(ISupportClientScripts, String, Boolean) Method

Assigns a JavaScript code to the current Action. This code will be executed in a browser when a user clicks the Action.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.Web.v18.2.dll


public static void SetClientScript(
    this ISupportClientScripts action,
    string script,
    bool processOnServer
Public Shared Sub SetClientScript(
    action As ISupportClientScripts,
    script As String,
    processOnServer As Boolean


Type Name Description
DevExpress.ExpressApp.Actions.ISupportClientScripts action

An ISupportClientScript object specifying an Action.

String script

A string specifying the JavaScript code to be executed when a user clicks the current Action.

Boolean processOnServer

true, if the Action should be processed on the server in addition to the JavaScript execution; otherwise, false.

See Also