Validates source control for null value.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntaxpublic Validator NotNull(
Object source,
string errorMessage
)
Parameters
- source
- Type: SystemObject
Control to validate - errorMessage
- Type: SystemString
It is returned when control is null
Return Value
Type:
Validator
See Also