Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTextSuggest only creating one suggestrowDNNTextSuggest only creating one suggestrow
Previous
 
Next
New Post
11/27/2007 7:05 PM
 

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

 
New Post
11/28/2007 9:20 AM
 

Are the IDs being assigned unique for each node?

Have you tried using the sample found on webcontrols.dotnetnuke.com and plugging in your db call logic?


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTextSuggest only creating one suggestrowDNNTextSuggest only creating one suggestrow


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out