A Site reference + Label property kombo

Vote:
 

A common case is to have pagereference combined with a label. Is the a default property in episerver that handles this. If not what are your experiences?

#80536
Jan 24, 2014 12:15
Vote:
 

Just create a block type and use this type as a property for your page type(s):

public class PageLinkWithText : BlockData
{
public virtual string Text { get; set; }

public virtual PageReference Link { get; set; }
}

#80547
Jan 24, 2014 13:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.