You must Sign In to post a response.
  • Category: ASP.NET

    AutoCompleteType="Disabled" Not Working in Mozilla But Works in IE and Chrome


    In my website , I have used AutoCompleteType="Disabled" for textboxes.
    It works well in IE and Chrome But not in Mozilla.

    if the user double-clicks the textbox it lists the already entered text.. in Mozilla..
    Is there any solution for this?

    Thanks & Regards,
  • #617393
    hi pallavi.,

    try this one....

    For Firefox:

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

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

  • #617395
    Hi Praveen,

    Thank you for your quick reply..
    I have tried using your given solution & It worked !

    Thanks & Regards,

  • #617491
    Instead of each control set autocomplete use in form tag for whole textboxes auto complete off

    <form id="form1" runat="server" autocomplete="off">
    //....your code...

    Your Hard work never fails

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.