Click here to Skip to main content

Validation

Web Development » Validation
 

General 

top
Title / Updated Author Score  
An Object Level Validation Framework
Updated: 10 Nov 2006
Provides a basic/advanced object level framework for validation.
C#, Windows, .NET, ASP.NET, Visual-Studio, WebForms, Dev
 
Craig G. Wilson 4.96
Multiple Fields Validator - An ASP.NET Validation Control
Updated: 7 Apr 2006
Discussing the MultipleFieldsValidator that validates a group of fields in which at least one is required, like phone number, mobile phone number, or email. It inherits the BaseValidator and uses some new cool ASP.NET 2.0 features.
C#, Javascript, HTML, Windows, .NET2.0, ASP.NET, VS2005, Dev
 
Adam Tibi 4.94
ASP.NET Validators Unclouded
Updated: 30 Mar 2003
Demistifying the mysterious ASP.NET validator controls, allowing fast and painless validation of Web Forms.
C#, .NET1.0, Win2K, WinXP, ASP.NET, Visual-Studio, Dev
 
Paul Riley 4.88
Ultimate .NET Credit Card Utility Class
Updated: 29 Aug 2007
A powerfully simple .NET utility class for validating and testing credit card numbers in C# and VB.
C#2.0, VB8.0, Windows, .NET2.0, ASP.NET, Visual-Studio, WebForms, Dev, PayPal
 
BlueLaser05 4.84
Credit Card Validator control for ASP.NET
Updated: 30 Aug 2002
Article outlining how to create a credit card validator control fully derived from BaseValidator.
C#, Windows, .NET1.0, ASP.NET, Dev, eCommerce
 
Paul Ingles 4.83
Client/Server-side ASP.NET Credit Card Validation Control
Updated: 28 Feb 2004
Article discussing new version of ASP.NET Credit Card Validator, including both server and client-side checks and VS.NET designer support.
C#, VC7.1, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, VS.NET2003, Dev
 
Paul Ingles 4.79
Form validation with ASP.NET MVC using the IErrorDataInfo interface
Updated: 13 Aug 2009
In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.
Javascript, HTML, XHTML, C#3.0, .NET, ASP.NET, WebForms, Ajax, VS2005, VS2008, Dev, EF
 
Farooq Kaiser 4.71
Custom Validation Scripts - Extending the client side script functionality
Updated: 24 Jan 2005
Override the default implementention of client side validation of ASP.NET and modify the default functionality by adding focus to error fields and individual alerts for each invalid field
C#, VB, Javascript, Windows, .NET1.1, ASP.NET, VS.NET2003, Dev
 
Mauricio Ritter 4.71
Enhancing the presentation of standard validator outputs
Updated: 13 Jul 2006
How flexible is the normal functionality of ASP.NET validators? In this article, I am going to show how to customize the appearance of the attached control of a validator during an error situation on the server or the client side, or even call a custom client function without postback.
C#, Javascript, XML, HTML, Windows, .NET2.0, ASP.NET, WebForms, VS2005, Dev
 
Alexander Kleshchevnikov 4.67
ZatakTextBox
Updated: 15 Dec 2006
This textbox contains everything for validation. You can set validation options by a click of the mouse and just a few keystrokes.
C#, Windows, .NET, ASP.NET, Visual-Studio, WebForms, Dev
 
Manish Pansiniya 4.64
Common Validation and Length Validation with Regular Expressions in ASP.NET
Updated: 20 Aug 2008
Common validation and length validation with Regular Expressions in ASP.NET.
C#, .NET, ASP.NET, Dev
 
Sowkot Osman 4.61
Single Control Validation Solution
Updated: 17 Sep 2002
A single control to validate a .NET Web Form.
VB, .NET1.0, Win2K, WinXP, ASP.NET, Visual-Studio, Dev
 
Jamie Nordmeyer 4.60
A Managed C++ Email Validator Control for ASP.NET
Updated: 3 Jan 2003
An ASP.NET Validator Control implemented in Managed C++ that can be used to verify email addresses by connecting to SMTP servers listed as Mail eXchangers for a domain, includes example of Win32 API Interoperability with C++ .NET. The validation is not RegEx based.
C++/CLI, VC7, .NET1.0, Win2K, WinXP, ASP.NET, Dev
 
Paul Ingles 4.59
Building an ASP.NET Validator Using Data Annotations
Updated: 27 Jul 2010
The article describes an implementation of an ASP.NET validator that uses the new System.ComponentModel.DataAnnotations assembly that came in .NET 3.5 SP1.
C#4.0, .NET, ASP.NET, Dev, .NET4, RIA
 
Gil Fink 4.57
ASP.NET Validation: Tamed
Updated: 13 May 2006
This article shows how to defeat the obstacles imposed by the ASP.NET validation system. Client-side control of validation is the main interest of this article, and the solution's core is JavaScript code.
C#, Javascript, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
M. Shehabeddeen 4.56
Adding ASP.NET validation at runtime
Updated: 4 Mar 2005
An article describing how to add errors to the validation summary at runtime
C#, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
Peter Morris 4.56
Self Validating Text Box - 2
Updated: 9 Feb 2004
This article extends self validating Text Box control to other data types and Min and Max value checking.
VC7, VC7.1, .NET, Win2K, WinXP, Win2003, ASP.NET, Visual-Studio, Dev
 
vikramk 4.50
Authentication Authorization
Updated: 10 Nov 2011
Forms Authentication, Authorization, User Accounts, and Roles :: Validating User Credentials Against the Membership User Store
C#
 
shashikanth 2011 4.50
Building an ASP.NET custom web control: a textbox and validator in one
Updated: 12 Aug 2002
In this article we will have a look at implementing a custom web control. This web control will inherit from the TextBox web control, and will automatically add a required field validator at run-time.
Windows, .NET1.0, ASP.NET, Visual-Studio, Dev
 
Wim Hollebrandse 4.48
ASP.NET Required TextBox (Graphical RequiredFieldValidator)
Updated: 21 Sep 2006
An ASP.NET custom TextBox control with a built-in RequiredFieldValidator, providing a similar look and feel to the Windows Forms ErrorProvider.
C#2.0, Windows, .NET, ASP.NET, VS2005, Dev
 
g00fyman 4.46
CustomValidator dependent on multiple controls.
Updated: 1 Apr 2005
Example of how to require that the user enters at least one of multiple textboxes.
VB, VBScript, Javascript, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
DanielHac 4.45
Implementing an ASP.NET Validator - UriValidator
Updated: 22 Jan 2004
An article describing how to implement a custom ASP.NET validator.
C#, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, Visual-Studio, Dev
 
Matt Berther 4.43
A Better ValidationSummary Control for Data Driven Applications
Updated: 10 Jun 2002
The ValidationSummary Control can be easily subclassed to make data driven web applications more code-friendly.
C#, Windows, .NET1.0, ASP.NET, Visual-Studio, Dev
 
Scott Juranek 4.42
List Validator
Updated: 24 Jul 2007
Validates a ListControl to ensure at least one RadioButton or CheckBox is checked.
C#, Windows, .NET1.0, .NET1.1, ASP.NET, Visual-Studio, WebForms, Dev
 
Murray Roke 4.40
How to Validate ASP.NET Web Forms Using a Business Rules Engine
Updated: 30 Aug 2011
Learn how to validate complex web forms using a business rules engine
C#, Windows, .NET, ASP.NET, Ajax, Dev
 
Misha1964 4.33
WPF Validation in a Simple and Efficient Way
Updated: 23 Dec 2009
How to validate fields in XAML simple and easily
C#3.0, XAML, WPF, Dev
 
Jonas Wranå 4.25
Multiple Custom DataAnnotations on Same Filed With jQuery Validation
Updated: 31 Jul 2011
Workaround on using AllowMultiple=true for custom data annotations on both server side and client side.
C#, .NET, ASP.NET, jQuery, Dev
 
Satish Tate 4.20
Working with multiple ValidationGroups simultaneously on the client-side
Updated: 10 Dec 2010
How to work with multiple ValidationGroups simultaneously on client-side.
Javascript, .NET, ASP.NET, Dev
 
GG123 4.20
Smart Validation Summary
Updated: 17 Jan 2005
An article demonstrating creation of a custom ASP.NET validation summary control with highlighting of invalid form fields intelligently.
C#, Windows, .NET, ASP.NET, Visual-Studio, WebForms, Dev
 
Mr. Tommy Li 4.15
Model level validation using ASP.NET MVC
Updated: 18 Feb 2010
The benefit of putting validation in the model layer is that, the validation rules will be enforced everywhere in the application that accesses the database. It also means that we can change the validation rule in one place and every UI element inside our app will automatically get updated.
C#4.0, .NET3.5, Dev, .NET4, RIA, EF
 
Somnath Mondal 4.00
Extendable JavaScript Validation Routines
Updated: 15 Jun 2006
Extendable Javascript validation routines.
Windows, .NET, ASP.NET, Visual-Studio, Dev
 
Cheml0ck 3.79
Using .NET 3.5 DataAnnotations for ASP.NET input validation
Updated: 7 Oct 2009
Using .NET 3.5 DataAnnotations for ASP.NET input validation.
C#3.0, C#4.0, .NET3.5, ASP.NET, Dev
 
Sean Rhone 3.73
CustomValidator with XMLHttpRequest object
Updated: 8 Feb 2004
CustomValidator which uses XMLHTTpRequest to make validation.
C#, Javascript, Windows, .NET1.1, ASP.NET, VS.NET2003, Dev
 
Anatoly Rapoport 3.71
SSN Validation Web Service
Updated: 6 Feb 2005
This article describes the implementation of an ASP.NET Web Service which can be used for SSN format validation.
VB, XML, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, Visual-Studio, IIS6, Dev
 
tupacs01 3.68
Custom Validation Summary in ASP.NET
Updated: 22 Oct 2004
Replace the ugly ValidationSummary control text with your own, customizable popup summary window.
C#, Javascript, Windows, .NET1.0, .NET1.1, .NET2.0, ASP.NET, IIS, Visual-Studio, IE6.0, IE5.5, Dev
 
jeffshantz 3.35
Cross-Validate Checkboxes in .NET
Updated: 28 Nov 2007
Use both client-side and server-side validation across multiple checkboxes
C#, Javascript, Windows, .NET1.1, .NET2.0, ASP.NET, Visual-Studio, WebForms, Dev
 
Jan Huffman 3.18
Effective Email Address Validation
Updated: 20 Dec 2003
In this article, we would discuss a very brief and overall technique to verify the email addresses of the users that signup for a web account.
C#, VB, .NET, Win2K, WinXP, Win2003, ASP, ASP.NET, Visual-Studio, Dev
 
Vasudevan Deepak Kumar 3.14
Client-side validation using Validation Application Blocks
Updated: 18 Mar 2009
Implementing client-side validation using Validation Application Blocks.
Windows, ASP.NET, Dev
 
Shivprasad koirala 3.13
Combine RegularExpression Validation Control with RequiredField Validation Control
Updated: 11 Oct 2004
RequiredField and Regular Expression validation together... you can use this control in place of group required field and regular expression validation controls.
C#, Javascript, .NET1.0, .NET1.1, Win2K, WinXP, ASP.NET, VS.NET2003, Dev
 
Gaurang Desai 3.12
Group Validation Buttons
Updated: 24 Nov 2005
This article will teach you how to create your own ASP.NET buttons and image buttons that enable only a set of validators that are attached to these controls on your ASP.NET page.
VB, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
Tamer Safwat Aziz 3.10
ListControl SelectedItem Validator
Updated: 23 Mar 2002
RequiredField Validator for ASP.NET ListControl derived webserver controls
C#, Windows, .NET1.0, ASP.NET, Visual-Studio, Dev
 
Cenk Civici 3.00
Parital page validation using validation controls and JavaScript
Updated: 12 Sep 2006
A logical portion of an ASP.NET page can be validated independently by overriding the behavoiur of validator controls. I am going to validate different parts of the page independently so our control or a particular portion of the page will validate itself without affecting anything else on the page.
Javascript, C#1.0, Windows, .NET1.1, ASP.NET, VS.NET2003, Dev
 
Muhammad Abubakar Dar 3.00
Calling ASP.NET validators with JavaScript
Updated: 25 Feb 2007
Explanation of how to call ASP.NET validation controls by using JavaScript.
Javascript, Windows, .NET1.1, .NET2.0, ASP.NET, VS.NET2003, VS2005, Dev
 
Three Nine Consulting 2.84
Transferring Control Focus through Custom Validation File, in ASP.NET
Updated: 12 May 2005
Validation controls will not set the focus to the appropriate control when the validation fails. This can be achieved using a custom validation file.
Javascript, XML, Windows, .NET, ASP.NET, Visual-Studio, WebForms, Dev
 
bkalicharan 2.73
Simple and Cool XML Validator
Updated: 27 Sep 2007
A small program you can use to validate an XML document against a schema
XML, C#2.0, .NET2.0, Win2K, WinXP, Win2003, Vista, TabletPC, VS2005, DBA, Dev, QA
 
Seun 2.55
Smartly Display ASP.NET Validation Information
Updated: 12 Oct 2004
Enhance ASP.NET client-side JavaScript.
Javascript, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
billxie 2.44
Validator Controls in ASP.NET
Updated: 10 Aug 2004
Validator controls in ASP.NET.
C#, .NET1.1, Win2K, ASP.NET, IIS6, VS.NET2003, IE6.0, Dev
 
vivekthangaswamy 2.43
ValidationScriptGenerator
Updated: 15 Mar 2005
This article gives you a solution for generating a client side validation script in a component model that you can reuse in an ASP.NET project.
C#, Windows, .NET, ASP.NET, Visual-Studio, Dev
 
E KuralMani 1.94
Dangers of using OnChange/ViewState for validation.
Updated: 11 May 2004
This article demonstrates serious bugs and security vulnerabilities that can be easily introduced by using the ASP.NET OnChange event for validation.
C#, VB, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, Visual-Studio, Dev
 
A Berglas 1.49
JavaScript client-side validation helper
Updated: 6 Dec 2009
A JavaScript client-side validation helper.
Javascript, Dev
 
AbelCantu  
Forcing validation for required fields in Silverlight
Updated: 19 Aug 2011
Force validation, even if the user doesn't enter anything, so that fields that are required show an appropriate message.
C#, Windows, Silverlight, Dev
 
Craig Jewiss  

C# Controls - Validation Controls 

top
Title / Updated Author Score  
Creating Custom Validation Attribute in MVC 3 - Unedited
Updated: 16 Dec 2011
This article explains how to create custom validation attribute in MVC 3 for validating data on server side as well as on client side.
C# (C#4.0), .NET, MVC, Architect, Dev, .NET4, jQueryL
 
Praveen Meghwal 5.00
Validate user input in Windows Forms
Updated: 26 Apr 2006
You needn't write any code for control validation; just set a control's validation information at design-time and reduce maintenance workload.
C#, .NET2.0, WinXP, VS2005, Dev, WinForm
 
Jim Cai 4.94
Validators for Windows Forms - ValidationProvider Control
Updated: 16 Apr 2005
Code-free validation for TextBox, ComboBox, and more...
C#, VB, Windows, .NET1.1, VS.NET2003, Architect, DBA, Dev, QA, WinForm
 
Noogen 4.89
Enhanced Textbox Control
Updated: 3 Apr 2010
An extended control which doesn't require attaching a validation control, but just needs specifying the input type.
C#, Javascript, Windows, .NET, ASP.NET, Dev
 
Pranay Rana 4.83
RequiredIfValidator - Extending from the BaseValidator class
Updated: 12 Jan 2005
Have you ever had a field that was required, but only if another field was a certain value? Then, this validator is for you!
C#, Javascript, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, WebForms, VS.NET2003, Dev
 
Datac0re 4.78
Client Side Validation Running Server Side Code
Updated: 26 Jul 2008
The article explains how to easily run server-side validation methods on the client-side
C# (C#2.0, C#3.0), ASP.NET
 
Artiom Chilaru 4.59
Using Custom Validator to Validate Checkbox
Updated: 30 Oct 2007
Performing validation of checkbox using custom validator
C#2.0, Windows, .NET, VS2005, Dev
 
Balamurugan R A 4.55
Creating an ASP.NET captcha using jQuery and s3capcha
Updated: 12 Aug 2009
Create an ASP.NET captcha that can be used in Web Forms or with AJAX using s3capcha.
Javascript, C#2.0, C#3.0, .NET2.0, .NET3.5, ASP.NET, Ajax, Dev
 
Mahdi Yousefi 4.50
ErrorProvider as a 'Warning Provider'
Updated: 21 Jun 2005
Use the ErrorProvider to display friendly 'Value Required' warnings.
C#, Windows, .NET, Visual-Studio, ADO.NET, DBA, Dev
 
Paul Brower 4.41
NumericTextBox for ASP.NET
Updated: 9 Oct 2007
An ASP.NET control that allows users to enter only numbers.
Javascript, XHTML, C#1.0, Windows, .NET2.0, ASP.NET, Visual-Studio, WebForms, IE6.0, IE7, Dev
 
Lukas Holota 4.38
Fire CustomValidator or RegularExpressionValidator ClientValidationFunction always!
Updated: 22 Mar 2005
Override the WebUIValidation.js function to fire the custom or regular expression validator even when the field is empty.
C#, Javascript, Windows, .NET, Visual-Studio, WebForms, IE6.0, IE5.5, Dev
 
Rooc 4.00
Phone TextBox Control with Built-in Phone Validator - ASP.NET Custom Control
Updated: 28 Apr 2008
Discussing the creation of custom Phone TextBox and its built-in PhoneValidator that validates a group of textboxes which represents three sections of a phone number. It inherits the BaseValidator and uses some new cool ASP.NET AJAX 3.5 features.
C# (C#2.0, C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5), ASP.NET, Dev, Design
 
Enoch Tsai 3.90
Validating TextBox interfaces
Updated: 24 Jul 2005
A TextBox class with an extensible validator interface.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
franksbootdisk 3.50
Custom Control For Common RequiredField Validator
Updated: 4 Oct 2004
Common validation conrol for more than one Required Field on the page. The simple and most eligant way to validate required fields.
C#, eVC4.0, WinMobile, Mobile, .NET1.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
Gaurang Desai 3.25
The AtLeastOneOfValidator Control
Updated: 26 Mar 2008
Use this validator control to require that at least one control in a list has a value.
VB6, VB (VB7.x, VB8.0, VB9.0), .NET (.NET2.0, .NET3.0), ASP.NET, Dev
 
jcoehoorn 1.92
Dynamic Control Validation at Runtime using a Container Control
Updated: 25 Mar 2005
Dynamic control validation (TextBox, ComboBox) at runtime using a container control.
C#, .NET1.0, .NET1.1, .NET2.0, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
Chayan 1.82

Advertise | Privacy | Mobile
Web02 | 2.5.120209.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid