Validator IsFileName Method Kentico 8.0 API Reference
Determines whether source control's value matches file 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 file name

Return Value

Type: Validator
See Also