Client Side Checkbox Validation

Overview ASP.NET provides a series of validation server controls that can be used to validate data that a user inputs into your forms. These controls allow you to prevent a form from being submitted upon the rules that you define in the validation server controls. The available validation server controls are (courtesy of MSDN): Validation [...]

ASP.NET Read more

A simple Login Form

Since ASP.NET 2.0, Microsoft has included a platform for managing site membership, from user creation to authentication and authorization.

This article focuses on customizing the ASP.NET Login control to create a simple, stylish form that your users can use to log in to your web application that also provides informative errors.

ASP.NET Read more

Inserting a new record from the Listview’s footer

The Listview control introduced in ASP.NET 3.5 fixes a number of issues with the old Gridview and Repeater controls.  In particular, one of my biggest problems with the Gridview was the inability to add an item through an empty row in the Gridview footer.  While there are several workarounds to achieve this functionality, the Listview [...]

ASP.NET Read more

Using CultureInvariantValues = true

The Compare Validator allows you to compare the entries in 2 text fields and generate an error if they don’t match a certain condition. However, a frustrating problem that commonly arises with the Compare Validator is the way it handles dates for non-US date formats (eg, DD/MM/YYYY).

ASP.NET Read more