Try our conversational search powered by Generative AI!

Interface IStringFragmentControlResolver

Component that resolves a Web control for an IStringFragment implementation

Namespace: EPiServer.Core.Html.StringParsing
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IStringFragmentControlResolver

Methods

GetControl(IStringFragment, TemplateControl)

Gets the a web control that can be placed in Page Control collection

Declaration
Control GetControl(IStringFragment fragment, TemplateControl hostPage)
Parameters
Type Name Description
IStringFragment fragment
System.Web.UI.TemplateControl hostPage
Returns
Type Description
System.Web.UI.Control

A control that renders the fragment

Extension Methods