Programming for Everybody: Prevent textbox autofill with previously entered values

Prevent textbox autofill with previously entered values

<asp:TextBox id="end_date1" runat="server" autocomplete="off"></asp:TextBox>

Or from the CodeBehind:
end_date1.Attributes.Add("autocomplete", "off")

No comments:

Post a Comment