Validatable ASP.net WebCustomControl

Published Monday, November 12, 2007 12:52 PM

when u add a required field validator to your page u get to select which control to validate, so what if u created that control you want to validate...

just add the Attribute

[ValidationProperty("PropertyName")]
to your class and specify which public property of your control to use

 

Filed under: ,

Comments

# DotNetKicks.com said on Wednesday, December 05, 2007 2:07 PM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Leave a Comment

(required) 
(required) 
(optional)
(required)