Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究 ajax 自动扩展器,有一个下拉列表和文本框,一切正常,但是当我要输入文本框“X”时它会产生结果,但是当我更改下拉选择的索引并输入相同的文本“X”时' 在文本框中文本更改事件未触发,任何人知道原因请告诉我,在此先感谢。
TextChanged 事件仅在控件中的文本发生更改并且焦点移出控件时触发。当获得焦点以控制触发 TextChanged 事件时,您可以将控制文本设置为空。