#278 IE9 ajax autocomplete extender

Version_2.next
open
5
2012-09-15
2011-12-02
Boriss Pavlovs
No

Event doesn't fire in ajax autocompleteextender.
Decision:
textField.Clear();
textField.TypeText(value);
m_browser.Eval("document.getElementById('" + textField.Id + "').AutoCompleteBehavior._timer._startTimer();"); //start event

            Thread.Sleep(3000);

//WaitForAsyncPostBackToComplete (http://stufftoremember.posterous.com/automated-acceptance-testing-with-watin) doesn't work
ListItem listItem = parentDiv.ListItems[0];

                if (listItem.Exists)
                {     
                    listItem.MouseDown();
                    m_browser.Eval(" var obj=document.getElementById('" + textField.Id + "').AutoCompleteBehavior; obj._setText(obj._completionListElement.childNodes[0]);");  // finds first element from list and writes in  textbox
                }

I hope that is temporary decision and problem will be resolve.

Discussion