c# - How to enable autocomplete for a textbox when the autocomplete on form tag is off? -


i have following code snippet in master page (abc.master)

<form id="form1" method="post" runat="server" autocomplete="off">

the above master page used number of user controls. on 1 of them want enable autocomplete 1 of textbox. want textbox show values user had entered in past. trying through :

<asp:textbox id="textbox1" runat="server"autocomplete="on"></asp:textbox>

which doesnt work me. tried autocompletetype not work. pointers appreciable.

you can enable autocomplete page usercontrol call using below code. form.attributes.add("autocomplete", "on")

you can put code on page load event.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

java - How to create Table using Apache PDFBox -