Creates a anonymous javascript function from the passed string.

Namespace:  EPiServer.ClientScript
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static string GenerateClientFunctionStub(
	string functionBody
)

Parameters

functionBody
Type: System..::.String
The javascript statement used as body for the created function.

Return Value

A string containing a javascript function returning the result of the passed function body.

See Also