A newer version of this page is available. Switch to the current version.

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
)
<ExtensionAttribute>
Public Shared Function GetClientScript(
    action As ISupportClientScripts
) As String

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