KeyPress, KeyDown, KeyUp - The Difference Between Javascript Key EventsIn JavaScript, pressing a key triggers events which can be captured and handled. Three events are triggered when a key is pressed and released: keydown,keypress,keyup
How To: Compress ViewState in ASP.NET 2.0 - ViewState Compression with System.IO.CompressionWe can completely disable viewstate by setting EnableViewState to false in the page directive but you need extra programming effort for you to take care of the page state. It is a good idea to disable ViewState for the controls that do not actually need it such as Literals and Labels by setting Enab...
Enter Key Default Button in ASP.NET 2.0 - Setting the enter key as default button for form inputsIf you try to use Enter key in ASP.NET, according to your browser's type, you can get really weird results. In my previous article Default Button in ASP.NET 1.1, I described two methods to make enter key default button for form inputs.
ASP.NET 2.0 makes this easier by introducing a concept of "de...