Return a control to render the dynamic content on the page. This method will only be called by EPiServer if the
CopyC#
RendersWithControl
property returns true

Namespace:  EPiServer.DynamicContent
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
Control GetControl(
	PageBase hostPage
)

Parameters

hostPage
Type: EPiServer..::.PageBase
A reference to the EPiServer page hosting the dynamic content.

Return Value

A control that renders the dynamic content

See Also