This method registers the control so the AActivitySpace can manage it automatically. 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.
This method registers the control so the AActivitySpace can manage it automatically. 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.
public virtual bool RegisterControl(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,string,IModel);
AActivitySpace Class | com.plumtree.uiinfrastructure.activityspace Namespace