Validator IsCodeName Method (Object, String)Kentico 8.1 API Reference
Determines whether source control's value is code name.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

source
Type: OnlineSystem Object
Control to validate
errorMessage
Type: OnlineSystem String
It is returned when control's value is not code name

Return Value

Type: Validator
See Also