ViewModelManager Members

Name Description
ViewModelManager()

Creates an instance of the ViewModelManager class.

Properties

Name Description
DataSources

Provides access to the data sources available in a View Model.

Functions

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

(Inherited from ClientModelManager)
Properties

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

(Inherited from ClientModelManager)
Values

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

(Inherited from ClientModelManager)

Methods

Name Description
BindToDataSource(String)
BindToModel(String)

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

(Inherited from ClientModelManager)
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).

(Inherited from ClientModelManager)
BindToModelCheckForNull(String)

For internal use only.

(Inherited from ClientModelManager)
GetCheckForNullPropertiesScript(String)

For internal use.

(Inherited from ClientModelManager)
GetPropertyValue(String)

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

(Inherited from ClientModelManager)
GetUsedProperties()

For internal use.

(Inherited from ClientModelManager)
RegisterDataSource(String, Object)

Adds a DataSource object to a View Model.

RegisterFunction(String, String)

Register a Java Script function in a View Model

(Inherited from ClientModelManager)
RegisterParameter(String, DataStore)

Adds a MobileModel.Parameter object to a View Model.

RegisterProperty(ModelProperty)

Add the specified property in a View Model.

(Inherited from ClientModelManager)
RegisterProperty(String)

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

(Inherited from ClientModelManager)
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.

(Inherited from ClientModelManager)
UpdatePropertyValue(String, Object, Object)

For internal use.

(Inherited from ClientModelManager)

Events

Name Description
ClientModelRestored

Occurs after the View Model is restored.

(Inherited from ClientModelManager)
ViewModelRestored

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

(Inherited from ClientModelManager)