Skip to main content
A newer version of this page is available. .

SupportClientScriptsExtensions.GetClientScript(ISupportClientScripts) Method

Returns the custom JavaScript code the SetClientScript method assigned to the current Action. Returns null if no custom code was assigned.

Namespace: DevExpress.ExpressApp.Actions

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

Declaration

public static string GetClientScript(
    this ISupportClientScripts action
)

Parameters

Name Type Description
action DevExpress.ExpressApp.Actions.ISupportClientScripts

An ISupportClientScript object that specifies an Action.

Returns

Type Description
String

A string that specifies the JavaScript code the SetClientScript method assigned to the current Action.

See Also