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"/>
Ε Г И І И О
  • 9,464
  • 1
  • 42
  • 52
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,311
  • 7
  • 45
  • 76