Class PropertyUrlControl

Property control that is used to store an url.

Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class PropertyUrlControl : PropertyTextBoxControlBase, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyUrlControl()

Declaration
public PropertyUrlControl()

Properties

ContentRepository

Declaration
public Injected<IContentRepository> ContentRepository { get; set; }
Property Value
Type Description
Injected<IContentRepository>

Methods

CreateDefaultControls()

Creates the default controls for the property. Used when the property is in view mode or in "on page edit" mode and the PropertyDataControl does not support on page editing.

Declaration
public override void CreateDefaultControls()
Overrides

GetContent(String)

Gets content from permanentLink.

Declaration
protected IContent GetContent(string permanentLink)
Parameters
Type Name Description
System.String permanentLink

Permanent link to parse content from.

Returns
Type Description
IContent

A content if the permanentLink is valid, otherwise, return null.

Implements

System.Web.UI.INamingContainer

Extension Methods