OTM
asked on
caching results for autocomplete repeater/datalist
Hi,
I need to write an autocomplete control which reads from a cached list of records, there are 1000+ so its too many for it to search the database every keystroke.
I want it to cache once an hour unless the cache doesn't already exist, It will need to cache a name field, an id field and an additional text field per record and return a name contining text in a textbox control..
I'm a little familiar with the caching, but im not sure how to get the cached results into an asp.net repeater as a datasource..
can someone show me how to cache the results and output them to a repeater or datalist control please?
I need to write an autocomplete control which reads from a cached list of records, there are 1000+ so its too many for it to search the database every keystroke.
I want it to cache once an hour unless the cache doesn't already exist, It will need to cache a name field, an id field and an additional text field per record and return a name contining text in a textbox control..
I'm a little familiar with the caching, but im not sure how to get the cached results into an asp.net repeater as a datasource..
can someone show me how to cache the results and output them to a repeater or datalist control please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No suitable suggestions were made
http://www.codetricks.com/node/12
http://forums.asp.net/t/1142246.aspx/1