Yes, this code is of the DropDown component which the search box uses (or inherits from, not sure).
I reproduced the problem in the small website here
I removed the binaries from the website to minimize the size but the problem occurs in the latest version of Rad Controls.
Run the site and type the lowercase letter v in the search box. No drop down appears although there are results (view the code of the dummy data source).
).innerHTML = document.getElementById(
And rerun the site. Now the search box works properly.
When the problem occurs? It occurs when an invisible (display: none, or visibility: hidden) FORM element is dynamically created and injected into the main ASP.Net FORM (I know that this violates the HTML standard but who cares about this when using ASP.Net Web Forms?!).
Why I do this weird thing? I have a component that has a hidden FORM element created dynamically by Knockout
. My component made the drop down stop appearing because it injected itself into my hidden FORM not the main FORM.
I wonder why the drop down doesn't use BODY as a container? At least there's a non breakable guarantee that there won't be more than one BODY in a page.