Вопрос

Pretty self explanatory. I have a textbox in an updatepanel that will autopostback when a complete entry is typed, but will not postback when selecting an option from the AutoCompleteExtender. Any ideas on why this doesn't work or possible workarounds?

Это было полезно?

Решение

Finally found a workaround. You'll have to set the autocompleteextender's OnClientItemSelected to a javascript function, then call __doPostBack from said function.

function OnJobSelected(source, eventArgs)
        {

            var SourceID = source.get_element().id
            __doPostBack(SourceID, "");
        }
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top