AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletResponse.SetHostedDisplayMode Method

Tells the portal how this page should be displayed (with or without a banner).

void SetHostedDisplayMode(
HostedDisplayMode mode
);

#### Parameters

mode
  The requested display mode.

#### Remarks

This method is used for pages associated with a portlet (usually Preference pages). Note: This method can only be called once per page.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.
ProtocolNotSupportedException | Used with a version of the portal that does not support this feature.
InvalidOperationException | The method is called more than once per page.

#### See Also

IPortletResponse Interface | Plumtree.Remote.Portlet Namespace