Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Dim crit As PropertyCriteria = New PropertyCriteria crit.StringCondition = Filters.StringCompareMethod.Contained crit.Type = PropertyDataType.String crit.Name = "SectionName" crit.Value = "main" crit.Required = True PageSearch1.Criterias.Add(crit) PageSearch1.SearchQuery = "search string" PageSearch1.DataBind()
The search results take no account of the criteria. The search above returns pages with "SectionName" property set to "tools" or "articles" as well as "main". It appears that the criteria is ignored in the search results. How should search criteria be used in the PageSearch control