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  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

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.
CrystalTech Web Hosting™
 


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.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

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