Starter Site, every second search does not work
I am having some problems with the search from the starter site which seems rather odd. Every second time a search is run, the FreeTextDataSource.ExecuteSearch executes at a different point.
On the search that does return correctly the FreeTextDataSource.ExecuteSearch function from the control executes after the "On Pre Render" event on the Search.aspx page. On the second execution of the search, the FreeTextDataSource.ExecuteSearch function excutes after the "OnInitCompleted" event on the Search.aspx page.Anyone else experienced this issue.. I have tried to trace where the FreeTextDataSource.ExecuteSearch function is being called from to no avail..
The order of execution I am seeing is as follows:
Search 1 (working search)
1. In
2.In CatalogDataSource.cs - (IEnumerable ExecuteSelect) line 53. executes search
3.In FreeTextSearchDataSource.cs -(CatalogItemsDataSet ExecuteSearch) line 85 executes search and returns CatalogItemsDataSet to ProductList Control.
Search 2 (same search returns nothing due to order of execution)
After Search.aspx "OnInitCompleted" event
1. In CatalogDataSource.cs - (IEnumerable ExecuteSelect) line 53.
2. In FreeTextSearchDataSource.cs - (CatalogItemsDataSet ExecuteSearch) line 85
3. In Search.aspx - OnPreRender executes where the SearchDataSource.SearchPhrase is set.
Any help would be greatly appreciated thanks
Ryan

