Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SearchHelper を使用して検索パラメーターに基づいてスマート検索結果を取得し、Ajax を介してライブ検索で表示する Web パーツを作成しています。
データセットを使用して結果を表示する方法を探しています
SearchHelper.Search(SearchParameters)
SearchResults Web パーツが機能するのと同じ方法で返されます。
わかりました、答えを見つけました。答えは、BasicRepeater を使用することです。
var results = SearchHelper.Search(sp); BasicRepeater br = new BasicRepeater(); br.DataSource = results; br.ItemTemplate = CMSDataProperties.LoadTransformation(this, CMS.Root.SmartSearchResults", false);