I have a custom control that inherits from WebControl and implements IValidator, but I also want to have a property for ValidationGroup. From research, it appears I need to inherit from BaseValidator to do so. Can anybody provide a successfull example from a ASP.Net custom control that implements both BaseValidator and IValidator?
I have a custom control that inherits from WebControl and implements IValidator, but I
Share
Inheriting from BaseValidator will give you all of that.
You might find the source for this control useful as a starting point: http://www.codeplex.com/UsernameAvailability