November Happy Hour will be moved to Thursday December 5th.

PropertyCriteria for Block Property

Vote:
 

I can't figure out the syntax to refer to a property that is in a Property Block. That is, My PageData has the property:

public virtual InfoBlock Info { get; set; }

where InfoBlock is a BlockData with the property:

public virtual DateTime DateOfEvent { get; set; }

I can't manage to create a PropertyCriteria to check this DateOfEvent property, I have tried Name = "DateOfEvent", "Info.DateOfEvent", "Info/DateOfEvent".

I'm pretty sure the only problem is this 'embedded' nature of the DateOfEvent property because I tried creating a DateTime property directly in the PageData and all works fine.

Any help would be greatly appreciated.

#90833
Sep 18, 2014 17:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.