November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
There is a built-in property type "Page Type" - is this what you are looking for?
In this case I have a page type namned StandardPageType. I want to use that page as an property type in another page type like this:
public List<StandardPageType> PageList { get; set; }
You want to point to a page instance of type StandardPageType? If so, this will help you:
Limiting a Page Property to a specific Page Type in EPiServer 7
No. Maybe I was using the Episerver terminology correctly. I want to declare a property in a pagetype in the code. The property shall not be reachable from the Epi GUI. The idea was to mix properties specified as episerver properties with properties of a normal C# class. Is that possible?
Use the Ignore attribute to tell EPiServer to ignore it.
[Ignore]
public List<StandardPageType> PageList { get; set; }
It have come to my attention that it is possible to declare a property type in the page type without the virtual attribute. My aim is to declare a list of another page type as a property in my page type. I have also heard that this predicament should be placed in the view model.
All contributions are much appreciated =)