ClientModelManager Members

Constructors

Name Description
ClientModelManager(String)

Creates an instance of the ClientModelManager class.

Properties

Name Description
Functions

Provides access to a collection of functions registered in a View Model.

Properties

Provides access to a collection of properties registered in a View Model.

Values

Obsolete. This property is obsolete. Use the property instead.

Methods

Name Description
BindToModel(String)

Returns the client-side binding string (e.g., $global.CurrentObject or $model.CurrentObject).

BindToModel(String, Object)

Updates the client-side View Model properties on the server-side and returns the client-side binding string (e.g., $global.CurrentObject or $model.CurrentObject).

BindToModelCheckForNull(String)

For internal use only.

GetCheckForNullPropertiesScript(String)

For internal use.

GetPropertyValue(String)

Returns a value of the specified client-side View Model property on the server-side.

GetUsedProperties()

For internal use.

RegisterFunction(String, String)

Register a Java Script function in a View Model

RegisterProperty(ModelProperty)

Add the specified property in a View Model.

RegisterProperty(String)

Adds a property with the specified name in a View Model.

UpdatePropertyValue(String, Object)

Updates the specified client-side View Model property on the server-side. After processing a client request, the updated property values are transferred to the client-side and applied to the View Model.

UpdatePropertyValue(String, Object, Object)

For internal use.

Events

Name Description
ClientModelRestored

Occurs after the View Model is restored.

ViewModelRestored

Obsolete. This event is obsolete. Use the event instead.