Ajax.net AutoCompleteExtender number bug
16-11-2007 09:02:05
Yesterday I used about two and a half hour on debugging what was
going on with my AutoCompleteExtender
from Ajax.net. AutoCompleteExtenders
for ASP.NET is used for making a "did
you mean" list in a textbox, which
is nice and makes a form quite user-friendly!
But, I did actually find a bug, when I was using it. In my test
solution I did have two test, one with cities, and one with zips,
the one with city names did just work fine! but the zip number
list, was only showing a list of undefined, the
returned result count was fine as far I could see, after a lot of
test and frustration, did I try to add some extra
\"0000\" quotes, and it
works!
Javascript can't make a list of string numbers in the AutoCompleteExtender,
but after making extra quotes, javascript did
actually read it as a string... wuhu!
If you ever are using this toolkit from AjaxToolkit, please remember
this bug, otherwise you can lose a lot of hours by debugging
it!
You can read a small discussion about it here
http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=12901
Kommentarer
Tilføj en kommentar