London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

PropertyCriteria ParentID?

Vote:
 
Hej! Jag skulle vilja kunna lägga till ParentID som en criteria i en sökning jag gör men jag får det inte att funka ordentligt jag testade så här: EPiServer.PropertyCriteria criteria = new PropertyCriteria(); criteria.Type = PropertyDataType.Number; criteria.Name = "ParentLink"; criteria.Condition = CompareCondition.Equal; criteria.Value = "194"; criteria.Required = true; PropertySearchControl.Criterias.Add(criteria); vad gör jag för fel eller hur ska det göras? /j
#12067
Mar 29, 2004 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.