Wednesday, September 05, 2007

.NET Custom Validation ValidationProperty

Chances are that if I write it here I'll never have to read it again as the mere action of blogging it will ingrain it deeply into my long term memory.

When defining a custom control which needs to participate in validation, precede the class definition with:
[ValidationProperty("PROPERTYTOVALIDATE")]