Click or drag to resize
Validator.NotNull Method
Validates source control for null value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public Validator NotNull(
	Object source,
	string errorMessage
)

Parameters

source
Type: System.Object
Control to validate
errorMessage
Type: System.String
It is returned when control is null

Return Value

Type: Validator
See Also