Adds a setting for a client side object.

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

Syntax

C#
public void AddSetting(
	string clientId,
	string name,
	string value,
	bool valueAsObject
)

Parameters

clientId
Type: System..::.String
Client side identifier of the element to set the property for
name
Type: System..::.String
Client side property name
value
Type: System..::.String
Value of the added property
valueAsObject
Type: System..::.Boolean
if set to true the value parameter will be generated as an object on the client.

See Also