- Heather@FootAnstey
- Posts : 57
Join date : 2018-12-19
Search Lists - Programmatically order a search list
Fri 31 Jan 2020 - 11:07
Original Post22/10/2010 Romie Leathem
"..Is there a way to programmatically Order the Search List?Or stop users from being able to click on the header and change the sort order?.."
Response Renato
"...You could try the following :
this.SearchControl.dgSearchResults.TableStyles[0].AllowSorting = false;
Perhaps in the SearchCompleted( ) event so that each time the Search List is refreshed, the sorting is disabled (if you never want the user to be able to change the order of the results returned)..."
Update 25/10/2010 Romie Leathem
"..That's perfect. Thank you very much."
"..Is there a way to programmatically Order the Search List?Or stop users from being able to click on the header and change the sort order?.."
Response Renato
"...You could try the following :
this.SearchControl.dgSearchResults.TableStyles[0].AllowSorting = false;
Perhaps in the SearchCompleted( ) event so that each time the Search List is refreshed, the sorting is disabled (if you never want the user to be able to change the order of the results returned)..."
Update 25/10/2010 Romie Leathem
"..That's perfect. Thank you very much."
Permissions in this forum:
You cannot reply to topics in this forum
|
|