ClientSideEventsHelper.ToJSBoolean(Boolean) Method

Converts the specified boolean value to its string representation compatible with the JavaScript syntax ("true" or "false").

Namespace: DevExpress.ExpressApp.Web.Utils

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

Declaration

public static string ToJSBoolean(
    bool value
)
Public Shared Function ToJSBoolean(
    value As Boolean
) As String

Parameters

Type Name Description
Boolean value

A Boolean value to be converted.

Returns

Type Description
String

A string representation of the boolean value compatible with the JavaScript syntax ("true" or "false").

See Also