How to make an ASP.NET TextBox fire it's onTextChanged event fire in an AJAX UpdatePanel?

后端 未结 4 1017
慢半拍i
慢半拍i 2020-12-01 21:54

I am trying to get an textBox to fire it\'s onTextChanged event every time a keystroke is made rather than only firing only when it loses focus. I thought that adding the As

4条回答
  •  北海茫月
    2020-12-01 22:13

    All the AsyncPostBackTrigger does is make sure only that portion of the page refreshes when the event is fired, it does not change when the event is fired.

    I think it's possible to do what you want, but you'd need to write some javascript code to manually fire the event... and I don't even want to think about making that work.

提交回复
热议问题