Exemplo n.º 1
0
        protected override object CreateControlCore()
        {
            ProgressBar = new ASPxProgressBar {
                ClientInstanceName = $"{StringExtensions.CleanCodeName(Id)}", Width = Unit.Percentage(100)
            };

            View.ControlsCreated += ViewOnControlsCreated;
            return(ProgressBar);
        }
Exemplo n.º 2
0
 protected override bool IsValidInternal(IPersistentTypeInfo target, out string errorMessageTemplate)
 {
     errorMessageTemplate = ErrorMessage;
     return(StringExtensions.CleanCodeName(target.Name) == target.Name);
 }