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.
我在 VB.NET 2010 中有一个表单,在表单中有一个弹出控件。当我按下Enter key时,在我的表单中的任何文本框中都会自动显示弹出窗口,但我不想在按下 时在文本框中显示弹出窗口enter key。
Enter key
enter key
我认为原因可能是因为 Validation 和 AutoPostBack 都是真的。改变
CausesValidation="False" AutoPostBack="False"