473,770 Members | 6,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Preventing Auto-Completion for CC text box

How would I disable IE auto completion on text boxes that receive credit card
information?

I'd like to continue using standard built-in TextBox server controls if
possible.

Kind regards

Ben
Jan 10 '06 #1
4 1817
This is an Internet Explorer behavior. I do not think you can modify it
from inside ASP.NET. A standard TextBox control is rendered as:
<input type=text>. Maybe you can use some sort of Microsoft specific
HTML to do it, but I am not aware of it.

Grtz,

Wouter van Vugt
Trainer - Info Support
http://blogs.infosupport.com/wouterv

Jan 10 '06 #2
add the attribute autocomplete="o ff"

<input type=text autocomplete=of f>

-- bruce (sqlwork.com)
"Ben Fidge" <Be******@discu ssions.microsof t.com> wrote in message
news:4C******** *************** ***********@mic rosoft.com...
How would I disable IE auto completion on text boxes that receive credit
card
information?

I'd like to continue using standard built-in TextBox server controls if
possible.

Kind regards

Ben

Jan 10 '06 #3
TextBox server control doesn't have an AutoComplete property though.

I really would like to avoid using HTML controls if possible.

Thanks

Ben
"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l...
add the attribute autocomplete="o ff"

<input type=text autocomplete=of f>

-- bruce (sqlwork.com)
"Ben Fidge" <Be******@discu ssions.microsof t.com> wrote in message
news:4C******** *************** ***********@mic rosoft.com...
How would I disable IE auto completion on text boxes that receive credit
card
information?

I'd like to continue using standard built-in TextBox server controls if
possible.

Kind regards

Ben


Jan 10 '06 #4
The TextBox doesn't need an AutoComplete property. When it is not
present it will be added as an
attribute in the HTML none-the-less.

Grtz, Wouter van Vugt

Jan 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2607
by: Manlio Perillo | last post by:
Hi. This post follows "does python have useless destructors". I'm not an expert, so I hope what I will write is meaningfull and clear. Actually in Python there is no possibility to write code that follows C++ RAII pattern. Of course Python objects are not statics like in C++, but in C++ the auto_ptr class is used for enforcing this pattern for dynamical
1
2450
by: David Hane | last post by:
Hi all, I would like give users the ability to experiment with complex queries but I'm worried about them creating queries that will bog down the server. Does anyone have any ideas for preventing a runaway process? I'd like to empower my users AND keep my server online :-) Thanks!
20
2876
by: Vijay Kumar R. Zanvar | last post by:
Hello, Unlike register, auto keyword can not be used to declare formal parameter(s). Is there any specific reason for this? Kind regards, Vijay Kumar R. Zanvar
3
1574
by: Boni | last post by:
Dear all, I create a big number of a class instances of some class. Sometimes this instances must be collected (all pointers are deleted, but instance is not explicitly disposed).But sometimes I need to notify all living instances to reread an init file. Since I don't want to prevent a garbadge collection of the instances I don't have an explicit collection of all living instances. So I am trying to use shared event for notification.
2
1506
by: Chad | last post by:
I am in the process of writing an application that detects the insertion of a pen drive, and if a specific folder structure exists, it shows a form containing data. The problem is that when I insert the pen drive on some machines running Windows XP, a windows explorer window appears containing the contents of the pen drive. This window covers my application's window, even if my application window opens a few seconds later. How do I...
4
3759
by: microb0x | last post by:
I have an application with a master form with a tab control containing nine tabs, each tab contains a subform. I have command buttons on my main form including: Save , Cancel , Close. My question is, how can I prevent Access from auto-saving changed or entered data on both the main form and any subform? The main goal is to force the user to use the 'Save' button to save any data. I need the 'Cancel' button to just undo any changes...
1
1602
by: jonefer | last post by:
What is the best mechanism/ convention for preventing stacked datagrids from overlapping each other? I'd like to do something similar to a "can shrink/can grow" in an Access report for an aspx page which displays stacked grids. For example: DG_Allergies DG_Benefits
6
11906
by: Oleg Konovalov | last post by:
Hi, I have a Java/JavaScript GUI application where I perform a lot of long DB operations , which takes 5-60 secs to perform. Sometimes user double-clicks the button or just gets impatient and clicks again, which created duplicate forcm submission and hence duplicate records. So I am trying to disable the button as soon as it is clicked, and as soon as it's done,
4
2142
by: jgamble | last post by:
I'm working for the first time on an existing application that communicates with an SQL Server database. We've backed up the database and installed it on our own machine, and copied the ADB file to our PCs. One problem. We can't open up the ADB file. When clicked, with the shift key down or not, it spends a long time in hourglass mode, and has to be stopped via the task manager. I don't know why it is ignoring the shift key (does...
13
5977
by: Cross | last post by:
I am developing an application that will show movies. When you wach a movie, you do not want the Power Option "Turn off monitor" to be anabled. Is there anyway to fix this from VB.net? (note that I am not talking about the screen saver, that is something else). I'm very thankfull for answers, but plea, no guesses this time.
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10053
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10001
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9867
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3573
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.