ASP.Net textbox should not suggest old values
This question already has an answer here:
You can set the autocomplete
attribute in your html element to false
:
<asp:TextBox ID="TextBox1" autocomplete="false" runat="server"></asp:TextBox>
You can also do it for your entire form:
<form id="myForm" autocomplete="off" method="post" runat="server">
您可以将它的AutoCompleteType属性设置为Disabled
。
上一篇: 从浏览器停止自动填充?
下一篇: ASP.Net文本框不应该建议旧的值