Validates source control for emptiness.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public Validator NotEmpty(
Object source,
string errorMessage
)
Parameters
- source
- Type: SystemObject
Control to validate - errorMessage
- Type: SystemString
It is returned when control is empty
Return Value
Type:
ValidatorSee Also