Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AutoCompleteExtender shows nulls when less items are returned than set in CompletionSetCount

$
0
0

Hi,

The subject of this message pretty much says it all: if there are less items in the resultset than specified in the CompletionSetCount parameter, the autocomplete list appends null values to the results. It does so in Chrome and firefox, butnot in Internet Explorer. The Webservice returns an array of strings (it uses the value of CompletionSetCount to only return so many rows (LIMIT = n;) , and this is the definition of the extender:

                <asp:AutoCompleteExtender
                    ServiceMethod="GetCompletionList"
                    MinimumPrefixLength="3"
                    CompletionInterval="100"
                    EnableCaching="true"
                    CompletionSetCount="10"
                    TargetControlID="txtLocation"
                    ID="AutoCompleteExtenderCity"
                    runat="server"
                    UseContextKey="True">
                </asp:AutoCompleteExtender>

Thanks,

Tom


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>