Showing posts with label Application Name. Show all posts
Showing posts with label Application Name. Show all posts

Thursday, July 26, 2007

ASP.Net Web Form Disable Autocomplete

Problem:

Textbox control tries to auto complete entry.

A List of previously entered values are presented to the user to select.

How do you turn off this feature?


Solution:

<form method="post" autocomplete="off" >
</form>

that's all it takes.

one note. this disables auto complete for the entire form.

Thursday, January 18, 2007

C# .Net 2.0 - get application name

Problem:
How to console print a program application name?


Solution:


System.Console.WriteLine
("Usage {0}", AppDomain.CurrentDomain.SetupInformation.ApplicationName);