|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
AutoComplete in ASP:TextBox control in ASP.NET 1.1I know that there is a autocomplete property for the HTML "INPUT
type=text" control which if set to OFF, disables autocomplete of the input textbox (doesn't remember previously entered values) However there is no such corresponding property for the TEXTBOX ASP.NET Webcontrol in ASP.NET 1.1. I know that there is a AutoComplete Property in the TEXTBOX ASP.NET WebControl in ASP.NET 2.0. Thus I can use AutoComplete.Disabled property in ASP.NET 2.0 to disable autocompletion of textbox. My question is how I can disable autocomplete for TEXTBOX ASP.NET Webcontrol in ASP.NET 1.1?? TIA You can use the Attributes.Add() method of a control to write the proper
attribute, such as Attributes.Add("Autocomplete","Off"). I believe that's the syntax but I haven't tried to turn off the autocomplete in code before. -- Show quoteHide quoteHope this helps, Mark Fitzpatrick Former Microsoft FrontPage MVP 199?-2006 <rbg.***@gmail.com> wrote in message news:1169075005.727579.95970@q2g2000cwa.googlegroups.com... >I know that there is a autocomplete property for the HTML "INPUT > type=text" control which if set to OFF, disables autocomplete of the > input textbox (doesn't remember previously entered values) > > However there is no such corresponding property for the TEXTBOX ASP.NET > Webcontrol in ASP.NET 1.1. > > I know that there is a AutoComplete Property in the TEXTBOX ASP.NET > WebControl in ASP.NET 2.0. > Thus I can use AutoComplete.Disabled property in ASP.NET 2.0 to disable > autocompletion of textbox. > > My question is how I can disable autocomplete for TEXTBOX ASP.NET > Webcontrol in ASP.NET 1.1?? > > TIA >
#include for a DropDownList?
What's the new thing after ActiveX? AJAX n00b - custom server control in an UpdatePanel causes full postback Collection Property in web custom control Menu - Eliminate The Triangular Arror pointer thing - How to do it? Programmatically modifying the controls in FormView's PagerTemplate CSS substitution for the <center> tag Gridview only displays 3 columns of 11 column dataset Gridview controls added programmatically does not appear later Setting name=, ID= for TextBox |
|||||||||||||||||||||||