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 ForumsClientAPIClientAPITestSuggest problem - PopulateOnDemand event handler working but no list renderedTestSuggest problem - PopulateOnDemand event handler working but no list rendered
Previous
 
Next
New Post
11/20/2009 1:21 PM
 

Changed the IDs to numbers but still no list:

<root id="dnn_ctr372_ViewEditOrders_OrderDetails1_txtAddItemToOrder"><n txt="620202700003_MLT (Multi, 36) 0 available, price: 350.00" id="2" /><n txt="620202700003_MLT (Multi, 38) 0 available, price: 350.00" id="4" /><n txt="620202700003_MLT (Multi, 40) 1 available, price: 350.00" id="5" /><n txt="620202700003_MLT (Multi, 42) 1 available, price: 350.00" id="6" /><n txt="620202700003_MLT (Multi, 44) 0 available, price: 350.00" id="7" /><n txt="620202700003_MLT (Multi, 46) 0 available, price: 350.00" id="3" /><n txt="620202700003_MLT (Multi, 48) 0 available, price: 350.00" id="8" /><n txt="620202700003_MLT (Multi, 50) 0 available, price: 350.00" id="1" /><n txt="900202700002_ASS (Assorted, 36) 0 available, price: 350.00" id="12" /><n txt="900202700002_ASS (Assorted, 38) 0 available, price: 350.00" id="16" /><n txt="900202700002_ASS (Assorted, 40) 0 available, price: 350.00" id="9" /></root>

Any other ideas?

 
New Post
11/24/2009 9:32 AM
 

Have you verified that you are not getting any javascript errors?  If using IE, do you have Display notification about every script error checked? 

At this point, I am running out of ideas.  The last thing we can do since you cannot expose the url to me is in IE do a File -> Save As.. Choose Save As Type as complete.  Save the contents to an empty folder.  Zip that folder up and email it to me.


 
New Post
11/26/2009 11:35 AM
 

I am emailing you the page HTML as requested. It must have something to do with the source code of my page as I created a working example inside a different module on another site. 

When I turned Display notification about every script error on, I didn't get any error while typing into the textbox, however after typing something in, when I clicked on my navigation menu I got this several of these errors (not sure if this is relevant):

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)
Timestamp: Thu, 26 Nov 2009 16:31:30 UTC

Message: Invalid argument.
Line: 249
Char: 3
Code: 0
URI: http://fl-dev.company.com/js/dnn.dom.positioning.js

 

 
New Post
12/1/2009 8:02 PM
 

Got your email tonight. 

It is now clear where the problem is.  The TextSuggest control was designed to intelligently do postbacks only when necessary, however, this logic is not compatible with what you want to do.  Let me explain.

If you start typing in a lastname of Jon, the control will do a callback getting all names starting with Jon.  Lets say it gets back 3 results (Jone, Jones, Jonas) and you plan on displaying a max of 10.  When the user types in the next character Jone, it will not do a callback as we have the entire results already.  In other words, the control does a begins with match and what you are looking for is a contains match.  Unfortunately I did not adapt the control to allow for the contains.  However, all is not lost.  You have two choices. 

1) Change your logic to do a begins with match (not sure this fulfills your requirements or not)

2) just code this logic using a callback and populate a list yourself (yes, this is a bit more work, but probably your best option).

 


 
New Post
12/2/2009 6:16 AM
 

Thanks Jon! I modified my code to do a begins with match and that works fine for me. I am now getting a list rendered.

One last question: the list is always positioned way to the left of my textbox (not directly underneath). I noticed that the list has some inline styling automatically applied:

< div class="order-det-additemlist" style="position: absolute; left: -324px; top: 842px;"/>

Is there any way to stop this positioning being added? I notice that in the sample there is only the following styling:

< div class="MenuBarClass" style="position: absolute;"/>

My control setup is:

< dnn:DNNTextSuggest ID="txtAddItemToOrder" runat="server" CssClass="CATNormalTextBox" CaseSensitive="false" TextSuggestCssClass="order-det-additemlist" OnPopulateOnDemand="txtAddItemToOrder_PopulateOnDemand">< /dnn:DNNTextSuggest>

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPITestSuggest problem - PopulateOnDemand event handler working but no list renderedTestSuggest problem - PopulateOnDemand event handler working but no list rendered


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