Interface IDynamicContentControl

Implemented by dynamic content that supports integration with Web Forms and Controls

Namespace: EPiServer.DynamicContent
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public interface IDynamicContentControl : IDynamicContentBase

Methods

GetControl(TemplateControl)

Called to get the control used to render information to the visitor

Declaration
Control GetControl(TemplateControl hostPage)
Parameters
Type Name Description
System.Web.UI.TemplateControl hostPage

The template that hosts the dynamic content, can for example be PageBase when rendered on a template.

Returns
Type Description
System.Web.UI.Control

A control that renders the content

Extension Methods