Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNTextSuggest only creating one suggestrow
Previous Previous
 
Next Next
New Post 11/27/2007 3:05 PM
Unresolved
User is offline Ryan Salt
33 posts
www.mymusicvid.com
10th Ranked


DNNTextSuggest only creating one suggestrow 

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 5:20 AM
User is offline Jon Henning
1594 posts
www.codeendeavors.com
5th Ranked










Re: DNNTextSuggest only creating one suggestrow 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  DNNTextSuggest only creating one suggestrow
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com
Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP