Uiinfrastructure API Docs  
 

AActivitySpace.RegisterControl Method (String, String, IModel)

This method registers the control so the AActivitySpace can manage it automatically. This method allows the client to store the control under a name other than the one returned by IControl.GetName(). This allows the client to use more than one control of the same type in a single AActivitySpace. It also initializes it with the IModel argument. This operation will fail and return false if the control is null or if there is already a control with the same name registered with the AActivitySpace. If you register a control with a storage name of "" (the empty string), this will be used as the default control in your space. This means that anytime an URL does not have a control specified in it, this default control will be used.

public virtual bool RegisterControl(
   string controlName,
   string storageName,
   IModel model
);

Parameters

controlName
storageName
model

Return Value

boolean true implies success false implies failure

See Also

AActivitySpace Class | com.plumtree.uiinfrastructure.activityspace Namespace | AActivitySpace.RegisterControl Overload List