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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -