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:
.autocompStep1
{
border-width: 1px;
border-style: solid;
text-align: left;
padding: 0;
margin: 0;
list-style-type: none;
position: absolute; /*this and the next 3 lines I added following advices I found in other forums*/
float: left;
z-index: 9999;
/*...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:
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
help).
I also tried looking at the posts you mention, but I couldn't find the answer to my issue in any of them.
diegogb
Member
22 Points
13 Posts
Autocomplete list wrong position in Chrome
Nov 30, 2012 10:04 PM|LINK
Hello:
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:
.autocompStep1
{
border-width: 1px;
border-style: solid;
text-align: left;
padding: 0;
margin: 0;
list-style-type: none;
position: absolute; /*this and the next 3 lines I added following advices I found in other forums*/
float: left;
z-index: 9999;
/*...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,
Diego
http://www.rentec.com.co/images/autocompList_Chrome.jpg
chetan.sarod...
All-Star
65739 Points
11138 Posts
Re: Autocomplete list wrong position in Chrome
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
http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23551856.html
http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=26563
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
diegogb
Member
22 Points
13 Posts
Re: Autocomplete list wrong position in Chrome
Dec 04, 2012 03:55 PM|LINK
Hello chetan.sarode:
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 help).
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?.
Thank you