By tag: validation
0
kicks
Apply the same CSS class to all validators in a web project
A simple script that allows you to apply a css class to all validators in a web project.
0
kicks
xVal with WebForms Part 2
Another look at how to use xVal like validation goodness with traditional ASP.NET WebForms.
0
kicks
xVal with WebForms
I finally found some time last night to see what it would take to get xVal working in an ASP.NET Web Application Project. After a few hours I had something. I only needed to add two classes on top of xVal, DataAnnotationsValidationRunner and ModelValidator.
0
kicks
ASP.NET MVC Validation Refresh: Best Techniques & Frameworks
I just wanted to do a “refresher” post regarding ASP.NET MVC validation as many things have changed over the last couple of months and there is a lot of information out there. I wanted to aggregate my known validation options and recommend them in one tabular list.
0
kicks
TNValidate - A Fluent Validation Library for .NET
TNValidate is a fluent validation library for .Net. It allows you to write validation logic in a form that is readable both by programmers and non-programmers, but still entirely in your .Net language.
TNValidate has plenty of built-in validation rules, but also provides an extension mechanism to ...
0
kicks
Use MetadataType Attribute with ASP.NET MVC xVal Validation Framework
In this article I discuss encorporating the MetadataType attribute to allow usage with LINQ2SQL classes. Most of us would have heard of Steve’s brilliant new swanky ASP.NET MVC Validation Framework coined xVal which allows you to use any validation component you wish.
0
kicks
Diving in NHibernate.Validator
Surfing in the NET, to find some NHibernate.Validator (NHV) example, I saw that there are various things not so clear about how NHV is working. In this post I’ll try to give you a more deep explication....
0
kicks
ASP.NET MVC Validation - The Definitive Guide (in my eyes)
After trying a ton of techniques, I bring you the tried & tested definitive guide to ASP.NET MVC validation utilising both CLIENT (jQuery validator plugin) and SERVER validation ready to go with strong object model validation AND compatible with LINQ 2 SQL. What more could one want?!
0
kicks
Fluent Validation With ASP.NET MVC and Db4o
In this post, Tuna tries to implement validation that uses Fluent Validation as its validation framework. The approach he has taken is to apply validation rules at persistence level.
0
kicks
xVal - a validation framework for ASP.NET MVC
xVal lets you link up your choice of server-side validation mechanism with your choice of client-side validation library. It guides you to fit them both into ASP.NET MVC conventions, so everything plays nicely with model binding and errors registered in ModelState.
0
kicks
How Not To Compromise Security Through ASP.NET Validators
A guide to closing some security holes that might be left open when using or building ASP.NET Validator controls.
0
kicks
The Three Steps of Building an ASP.NET Validator Control
A clear walkthrough on how to build an ASP.NET validator control in three steps with an example of how to apply this to build a credit card number validator.
0
kicks
Client Side Validating Bulk Insert With jQuery Validation Plugin
I have been working on a proof of concept for a way to insert a bunch of contact data for a record. One of the requirements that has been pretty challenging is the client side validation since a lot of info isn't known until run time.
0
kicks
Form validation with ASP.NET MVC preview 5
In earlier ASP.NET MVC previews, form validation was something that should be implemented "by hand". Since the new ASP.NET MVC preview 5, form validation has become more handy. Let me show you how you can add validation in such a ridiculously easy manner.
0
kicks
How to control ASP.NET Validators ClientSide validation from JScript?
Recently I needed to disable some ASP.NET RequiredFieldValidator controls on one page depending on the user input.
This is trivial you say. But the problem was that this needed to occur instantly on Client Side based on the state of one CheckBox control and not after a full page PostBack.
There is...