This is a migrated thread and some comments may be shown as answers.

Is it possible to disable AutoComplete in the RadMaskedTextBox?

3 Answers 511 Views
Input
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 15 May 2009, 07:57 PM
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?

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 16 May 2009, 08:54 AM
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,
Dimo
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.
0
Aron
Top achievements
Rank 2
answered on 30 Sep 2012, 12:41 AM
Please update the answer. In the current release: "off" is not avail.

There is:
AutoCompleteType="Disabled"
and
AutoCompleteType="none"

What is the difference?
0
Galin
Telerik team
answered on 04 Oct 2012, 08:15 AM
 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.

Greetings,
Galin
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.
Tags
Input
Asked by
James
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Aron
Top achievements
Rank 2
Galin
Telerik team
Share this question
or