lukek
-
1/31/2013 6:29:24 PM
RE:How to display results of Smartsearch
Ok nevermind I have the answer. It hit me to just try the basic repeater :P. I'll post the answer here for others who search the answer.
You can use a BasicRepeater and give it the datasource as the results from SearchHelper.Search(sp)
var results = SearchHelper.Search(sp); BasicRepeater br = new BasicRepeater(); br.DataSource = results; br.ItemTemplate = CMSDataProperties.LoadTransformation(this, "CMS.Root.SmartSearchResults", false);
|