AUTOCOMPLETE
-
Hi experts, Autocomplete can be done in 3 ways 1.
- 3.Textbox1.Attributes.Add("autocomplete", "off");. We can also set AutoCompleteType="disabled" But i want to do this in whole application. Is it possible to put it in web.config or is there any other solutions for this.
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
-
Hi experts, Autocomplete can be done in 3 ways 1.
- 3.Textbox1.Attributes.Add("autocomplete", "off");. We can also set AutoCompleteType="disabled" But i want to do this in whole application. Is it possible to put it in web.config or is there any other solutions for this.
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
Theoretically, you could write a Http Module that would add this. Basically, you would register for the PreSendRequestContent and PreRequestHandlerExecute events and modify the output content there.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads
-
Hi experts, Autocomplete can be done in 3 ways 1.
- 3.Textbox1.Attributes.Add("autocomplete", "off");. We can also set AutoCompleteType="disabled" But i want to do this in whole application. Is it possible to put it in web.config or is there any other solutions for this.
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
You can also do this in a skin file. 1) Right click on your the root of your web project and select Add ASP.Net Folder -> Theme. Give it a name. 2) Right click on the new theme and select Add New Item -> Skin File 3) In your new .skin file add: <asp:textbox runat="server" autocomplete="off"></asp:textbox> 4) In web.config modify: <pages theme="Name of your theme in step 1"> That should get you rolling.
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.
-
You can also do this in a skin file. 1) Right click on your the root of your web project and select Add ASP.Net Folder -> Theme. Give it a name. 2) Right click on the new theme and select Add New Item -> Skin File 3) In your new .skin file add: <asp:textbox runat="server" autocomplete="off"></asp:textbox> 4) In web.config modify: <pages theme="Name of your theme in step 1"> That should get you rolling.
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.
Thanks a lot........:thumbsup: It works great....... one doubt..... will it have any impact(disadvantage)
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
-
Thanks a lot........:thumbsup: It works great....... one doubt..... will it have any impact(disadvantage)
Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]
I'm not aware of any draw backs to using skin files, other than having to manually override the skin for every textbox you want autocomplete enabled for (using txtWhatever.Attributes.Add("autocomplete", "on")).
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.