Validator IsCodeName Method (Object, String, Boolean)Kentico 8.0 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.0.5239.26125)

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