Click here to Skip to main content
6,634,665 members and growing! (15,622 online)
Email Password   helpLost your password?
Article Category: All Topics MFC/C++ C# VB.NET ASP.NET SQL Architect Windows 7 Java LAMP Mobile CEO / Manager
Announcements
BullFrog Power
 
Search    
Add to IE Search

Validation


Web Development » Validation
Language
Platform
Technology
Audience
Skill Level
Topic
Clear All

Contents

 

General

top
Title / Updated Author Score  
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
Farooq Kaiser 5.00
Form validation with ASP.NET MVC - Unedited
Updated: 16 Aug 2009  
This topic shows you the MVC features that support form validation.
C#, .NET, ASP.NET, Dev
Farooq Kaiser 5.00
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, .NET 2.0, ASP.NET, VS2005, Dev
Adam Tibi 4.85
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.78
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.71
ASP.NET Validators Unclouded
Updated: 30 Mar 2003  
Demistifying the mysterious ASP.NET validator controls, allowing fast and painless validation of Web Forms.
C#.NET 1.0, Win2K, WinXP, ASP.NET, Visual Studio, Dev
Paul Riley 4.66
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, .NET 1.0, ASP.NET, Dev
Paul Ingles 4.63
Single Control Validation Solution
Updated: 17 Sep 2002  
A single control to validate a .NET Web Form.
VB.NET 1.0, Win2K, WinXP, ASP.NET, Visual Studio, Dev
Jamie Nordmeyer 4.60
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
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.NET 1.1, Win2K, WinXP, Win2003, ASP.NET, VS.NET2003, Dev
Paul Ingles 4.53
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, .NET 2.0, ASP.NET, WebForms, VS2005, Dev
Alexander Kleshchevnikov 4.49
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.46
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
List Validator
Updated: 24 Jul 2007  
Validates a ListControl to ensure at least one RadioButton or CheckBox is checked.
C#, Windows, .NET 1.0, .NET 1.1, ASP.NET, Visual Studio, WebForms, Dev
Murray Roke 4.40
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.39
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.NET 1.0, Win2K, WinXP, ASP.NET, Dev
Paul Ingles 4.35
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.28
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.21
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, .NET 1.1, ASP.NET, VS.NET2003, Dev
Mauricio Ritter 4.21
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, .NET 1.0, ASP.NET, Visual Studio, Dev
Wim Hollebrandse 4.09
Implementing an ASP.NET Validator - UriValidator
Updated: 22 Jan 2004  
An article describing how to implement a custom ASP.NET validator.
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, Dev
Matt Berther 3.96
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, .NET 1.0, ASP.NET, Visual Studio, Dev
Scott Juranek 3.81
CustomValidator with XMLHttpRequest object
Updated: 8 Feb 2004  
CustomValidator which uses XMLHTTpRequest to make validation.
C#, Javascript, Windows, .NET 1.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.NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, IIS 6, Dev
tupacs01 3.53
Cross-Validate Checkboxes in .NET
Updated: 28 Nov 2007  
Use both client-side and server-side validation across multiple checkboxes
C#, Javascript, Windows, .NET 1.1, .NET 2.0, ASP.NET, Visual Studio, WebForms, Dev
Jan Huffman 3.18
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, .NET 1.0, .NET 1.1, .NET 2.0, ASP.NET, IIS, Visual Studio, IE 6.0, IE 5.5, Dev
jeffshantz 3.17
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.NET 1.0, .NET 1.1, Win2K, WinXP, ASP.NET, VS.NET2003, Dev
Gaurang Desai 3.12
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.10
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, .NET 1.0, ASP.NET, Visual Studio, Dev
Cenk Civici 3.09
Form validation with ASP.NET MVC using the IDataErrorInfo interface - Unedited
Updated: 24 Aug 2009  
As I already shown in my previous article Form validation with ASP.NET MVC. In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IDataErrorInfo interface. public interface IDataErrorInfo{    // Properties    st
C#, Javascript, CSS, HTML, XHTML, .NET (.NET 3.5), ASP, ASP.NET, WebForms, Ajax, Dev
Farooq Kaiser 3.00
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.NET 3.5, ASP.NET, Dev
Sean Rhone 3.00
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.NET 2.0, Win2K, WinXP, Win2003, Vista, TabletPCVS2005, DBA, Dev, QA
Seun 2.55
Validating Credit Card Numbers - Unedited
Updated: 12 May 2009  
Some code to process credit card orders.
C#, Windows, .NET, MFC, Dev
Jonathan Wood 2.46
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#.NET 1.1, Win2K, ASP.NET, IIS 6, VS.NET2003, IE 6.0, Dev
vivekthangaswamy 2.36
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.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, Dev
Anthony Berglas 2.05
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
Windows Form - Unedited
Updated: 22 Nov 2009  
well there is probably half a dozon answers for this but i did a quick run through and 4-5 minutes later i think i have a solution for you.make the forecolor of your textbox silver or what ever you originally wanted. next set the DropDown style to dropdown this will allow you to have an initial text
C#
boyGenius 1.00
Windows Form - Unedited
Updated: 22 Nov 2009  
You can set the selected text property for the combobox and clear it in the Enter event.
C#
d@nish  

C# Controls - Validation Controls

top
Title / Updated Author Score  
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#.NET 2.0, WinXP, WinForms, VS2005, Dev
Jim Cai 4.79
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.NET 1.1, Win2K, WinXP, Win2003, ASP.NET, WebForms, VS.NET2003, Dev
Datac0re 4.77
Using Custom Validator to Validate Checkbox
Updated: 30 Oct 2007  
Performing validation of checkbox using custom validator
C# 2.0, Windows, .NETVS2005, 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.NET 2.0, .NET 3.5, ASP.NET, Ajax, Dev
Mahdi Yousefi 4.50
Validators for Windows Forms - ValidationProvider Control
Updated: 16 Apr 2005  
Code-free validation for TextBox, ComboBox, and more...
C#, VB, Windows, .NET 1.1, WinForms, VS.NET2003, Architect, DBA, Dev, QA
Noogen 4.43
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
Compile-Time Validation of Composite Object Data Binding Expressions - Unedited
Updated: 7 Nov 2009  
Prompted by a recent comment on the T4 Metadata Generation template article, which I released some weeks ago, I have implemented a new mechanism for concatenating property paths. This allows compile time validation of properties that exist on composite or nested members.
C#, VB, Windows, .NET, XAML, WPF, Dev
Daniel Vaughan 4.33
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.29
Required Field Validator for Checkbox
Updated: 7 Oct 2009  
Custom validating control which will validate the checkbox
C#, .NET (.NET 2.0), ASP.NET, Ajax, Dev
Sujit Mandal 4.14
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, IE 6.0, IE 5.5, Dev
Rooc 4.00
CompareValidator’s hidden gem (It does data type validation) - Unedited
Updated: 28 Sep 2009  
After years of working in the .NET environment, you can still find new and amazing features.
Windows, .NET, ASP.NET, Dev
Steve Wellens 3.80
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 (.NET 2.0, .NET 3.0, .NET 3.5), ASP.NET, Dev, Design
Enoch Tsai 3.78
Validating TextBox interfaces
Updated: 24 Jul 2005  
A TextBox class with an extensible validator interface.
C#, Windows, .NET 1.1VS.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#, eVC 4.0, Win Mobile, Mobile, .NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
Gaurang Desai 3.13
The AtLeastOneOfValidator Control
Updated: 26 Mar 2008  
Use this validator control to require that at least one control in a list has a value.
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET (.NET 2.0, .NET 3.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#.NET 1.0, .NET 1.1, .NET 2.0, Win2K, WinXP, Win2003VS.NET2003, Dev
Chayan 1.82

Last Updated 23 Nov 2009
Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use