AutoComplete in ASP:TextBox control in ASP.NET 1.1

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rbg.net@gmail.com

    AutoComplete in ASP:TextBox control in ASP.NET 1.1

    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.Di sabled 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

  • Mark Fitzpatrick

    #2
    Re: AutoComplete in ASP:TextBox control in ASP.NET 1.1

    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.


    --

    Hope this helps,
    Mark Fitzpatrick
    Former Microsoft FrontPage MVP 199?-2006


    <rbg.net@gmail. comwrote in message
    news:1169075005 .727579.95970@q 2g2000cwa.googl egroups.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.Di sabled 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
    >

    Comment

    Working...