Validator IsCodeName Method (Object, String, Boolean)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
useUnicode
Type: OnlineSystem Boolean
If true, unicode letters are allowed in codename

Return Value

Type: Validator
See Also