Chrome Autofill my first textbox in every page with logged user name. I tried different method like
autocomplete="off"
But this is not working.
<asp:TextBox ID="txtSearch" runat="server" Width="200px" Text="" >
Chrome Autofill my first textbox in every page with logged user name. I tried different method like
autocomplete="off"
But this is not working.
<asp:TextBox ID="txtSearch" runat="server" Width="200px" Text="" >
I would suggest that you make a hidden Textbox with the name and id username or email.
Please make this as below in code behind.
txtSearch.Attributes.Add("autocomplete", "off");
you can check attached screenshot.