public static string DisplayUpload(this Tk5FieldInfoEx field, IFieldValueProvider row) { TkDebug.AssertArgumentNull(field, "field", null); Tk5UploadConfig upload = field.AssertUpload(); IUploadProcessor2 processor = upload.CreateUploadProcessor2(); return(processor.Display(upload, row)); }
private void CopyFromProperyField(PropertyFieldInfo field, IPageStyle style) { Hint = field.Hint; HintPosition = field.HintPosition; SetFieldControl(field, style); if (field.Upload != null) { Upload = new Tk5UploadConfig(field.Upload); } SetDisplay(style); }