Prevent session timeout in ASP .NET 2.0

0 Comments

To prevent a session timeout use the meta html tag in the header html tag:   <meta http-equiv="refresh" content="300" /><!-- prevent session timeout -->

Set text on control with javascript

0 Comments

To set the text on a control with javascript use:   /* Set the text value of the given element. This function assumes this document is defined and not null and has a function getElementById

Prevent default action arrow down and arrow up key with javascript

0 Comments

When you want to use the arrow keys to select rows in an ASP .NET 2.0 GridView, follow the steps in this article: http://www.codeproject.com/KB/webforms/GridViewRowNavigation.aspx It also explains, how you can prevent the default action of