Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 04, 2012 03:55 PM by diegogb
Nov 30, 2012 10:04 PM|LINK
I'm having a problem with the Ajax-Autocomplete extender in Chrome. I have seen this question in other threads but the proposed solutions have not worked for me. I hope you can find what is it that I'm doing wrong.
In Internet Explorer 7, 8, 9 this autocomplete is working just as I need: the position of the items-list is just as I want. However, In Chrome the position of the autocomplete list is completely wrong, as you can see in this image:
It looks like the autocomplete extender is not taking into account the scrolling position in Chrome, since the list is showing up in the top of the screen.
The most important of the css-class I'm using for this autocomplete is as follows:
position: absolute; /*this and the next 3 lines I added following advices I found in other forums*/
/*...other properties like: font-size...*/
One more thing: I'm quite sure this has nothing to do with this problem, but anyway: I'm adding this autocomplete programmatically in the Page_Load event, using a piece of code that is something like this:
txtAutoCompExtender.ID = "autoComp-Id"
txtAutoCompExtender.TargetControlID = "txtABC"
txtAutoCompExtender.CompletionListCssClass = "autocompStep1"
'... the other properties of the autocomplete are set here...
Any suggestions will be much appreciated,
Dec 03, 2012 02:20 AM|LINK
If by that you mean the autocomplete specific to the browser, then you might add: AutoCompleteType="Disabled" to the textbox you're extending.
Please refer this - http://forums.asp.net/t/1484299.aspx
Dec 04, 2012 03:55 PM|LINK
Thanks a lot for for your reply, but I believe that my problem is caused by the Ajax-AutocompleteExtender, I don't think it is related to the autocomplete specific to the browser, (although I did tried setting AutoCompleteType="Disabled", but this did not
I also tried looking at the posts you mention, but I couldn't find the answer to my issue in any of them.
Do you have any more suggestion?.