Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Unassigned: AutoCompleteExtender only works until partial postback in Chrome [27599]

$
0
0
Problem solved - this had to do with the way JavaScript code is used in the OnClientPopulated method - be careful which samples to use from the internet. This issue can be closed/removed.

I have a page using a master page, which has an updatepanel and updateprogress in it. On the child page I have a textbox with an AutoCompleteExtender making use of the OnClientPopulated method to format the display of the information retrieved from the web service. In Chrome, this method is called fine if the user executes it first, but if the user does anything else on the page first that causes a postback, the method will not function the same way, since the UL object that contains the list of items does not contain any items at the time that the method is called. However, the page still displays the list of options as returned from the web service below the textbox, albeit that they are not formatted by the OnClientCompleted method. It works fine in IE 7 and above, no problems. Any ideas on why this would happen and only in Chrome? I haven't tested in Firefox or any other browsers.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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