Set PageLinkProperty to automatically populate PageLink from a given property.

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
[DefaultValueAttribute("")]
[EditorAttribute("EPiServer.Design.TypeEditors.PropertyNameEditor, EPiServer.Design", 
	"System.Drawing.Design.UITypeEditor, System.Drawing")]
[BindableAttribute(true)]
public virtual string PageLinkProperty { get; set; }

Implements

IPageControl..::.PageLinkProperty

Remarks

Set to the name of the page property that you want to fetch the page link from.

Examples

This code snippet assumes that CalendarContainer is defined as a page type property of type Page reference.
CopyC#
<episerver:Calendar PageLinkProperty="CalendarContainer" runat="server" ID="Calendar1" />

See Also