3

I want my textbox to NOT suggest the old values (when clicked) entered in it before.

eirishainjel
  • 570
  • 7
  • 25

2 Answers2

2

You can set its AutoCompleteType property to Disabled.

<asp:textbox id="TextBox1"
    autocompletetype="Disabled" 
    runat="server"/>
Ε Г И І И О
  • 11,199
  • 1
  • 48
  • 63
2

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">
Dimitar Dimitrov
  • 14,868
  • 8
  • 51
  • 79