Is it possible to disable AutoComplete in the RadMaskedTextBox?

4 posts, 1 answers
  1. James
    James avatar
    2 posts
    Member since:
    Jul 2008

    Posted 15 May 2009 Link to this post

    I am using a EadMaskedTextBox to gather a credit card number.  Unfortunately, previous credit card numbers can be revealed when entering the credit card number due to the default AutoCompleteType on the base input control that is rendered.

    Is there any way to disable the AutoComplete behavior on my RadMaskedTextBox?
  2. Answer
    Dimo avatar
    8406 posts

    Posted 16 May 2009 Link to this post

    Hi James,

    RadMaskedTextBox does not have an AutoCompleteType property, but yo can still prevent autocomplete by using the generic HTML attribute:

    <telerik:RadMaskedTextBox    autocomplete="off"   />

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Aron
    Aron avatar
    80 posts
    Member since:
    Dec 2005

    Posted 29 Sep 2012 Link to this post

    Please update the answer. In the current release: "off" is not avail.

    There is:

    What is the difference?
  4. Galin
    Galin avatar
    526 posts

    Posted 04 Oct 2012 Link to this post

     Hello Aron,

    AutoCompleteType is a attribute of RadInput controls and it supports the Internet Explorer's feature called AutoComplete.

    Otherwise, the autocomplete is a regular HTML attribute, for example

    <telerik:RadTextBox runat="server" AutoCompleteType="BusinessFax" autocomplete="off" />

    I hope this helps.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top