hi,
I am upgrading a site from CM4 to 5, all is going well, all I need to do now is get the search working.
I have the following:
PageSearch locationsPageSearch = new PageSearch();
locationsPageSearch.SearchQuery = m_SearchQuery;
.....etc
locationsPageSearch.DataBind();
// Attach each of the discovered locations to the same criterias collection
ie = locationsPageSearch.GetEnumerator();
while (ie.MoveNext())
{
..Process
}
The sdk states I should be using SearchDataSource, does anyone know how I could implement similiar custom code?
Thanks
Does the introduction at:
http://world.episerver.com/en/Get-Started/Developing-with-EPiServer-CMS/Introduction-to-EPiServer-CMS/Search/
help?
hi,
I am upgrading a site from CM4 to 5, all is going well, all I need to do now is get the search working.
I have the following:
PageSearch locationsPageSearch = new PageSearch();
locationsPageSearch.SearchQuery = m_SearchQuery;
.....etc
locationsPageSearch.DataBind();
// Attach each of the discovered locations to the same criterias collection
ie = locationsPageSearch.GetEnumerator();
while (ie.MoveNext())
{
..Process
}
The sdk states I should be using SearchDataSource, does anyone know how I could implement similiar custom code?
Thanks