Re: Autocomplete force open
- Hello Abhishek,
I am doing something very semiliar with autocomplete. Can you please
send me a ccode snippet of how you are using the
dataReturnEventHandler with autocomplete?
> I currently have a dataReturnEventHandler subscribed to the
> dataReturnEvent for my autocomplete. If it sees that the results
> is empty, it sets the body of the container to say somethinglike "No
> Results Found" and then tries to open the container. The only way II
> know to open the container is to use _toggleContainer. However, if I
> use that, the container shows up behind the html select box that is
> just underneath my input text box. This happens in IE even though I
> have useIFrame set to true.
> This happens only when the results of the first query are empty. If
> type something in my input box and get a list of results, the listof
> results shows up over the html select box which is expectedbehavior.
> If I then type some garbage value into my textbox, the container nownow
> shows over the html select box. However if I refresh the page and
> put garbage in the text box, the container with "No Results Found"it
> shows beneath the html select box.
> Does anyone know what's happening? My best guess is that
> _toggleContainer, being a private method, I am not allowed to call
> directly. And since I am, the container opens, but doesn't behave as
> expected and doesn't use the iFrame stuff. Any suggestions?