Hi there
I'm having a problem with the TextSuggest box not populating the list correctly.
I have MaxSuggestRows set to 10.
The PopulateOnDemand and PopulateList subs correctly pull a collection of items from my database, and it loops through the code below with no problems. A watch show the correct item Names and IDs being added as DNNNodes, and that the objNodes collection Count at the end of the For..Next is the same as the number of items pulled from the database:
For Each dr As SearchInfo In colSearch
o = New DNNNode(dr.Name)
o.ID = dr.ID
objNodes.Add(o)
Next
However, the text suggest list either:
1) only displays one row, and only if the collection count is greater than 6 otherwise it is empty. This is either the last item in the collection, or number 6.
2) displays 1 item less than the number of items in the collection. Anything else is ignored. I thought it was something to do with my CSS, but i've tried this on the default skins, and get the same result. Also, the list has a border on all four sides, so it's not being obscured by anything.
Any ideas where to start looking for problems?
Thanks
Ryan