Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.23 KB

ImageUploadEditorAttribute.md

File metadata and controls

23 lines (17 loc) · 1.23 KB

ImageUploadEditorAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets editor type as "ImageUpload", which only allows image files. Make sure you use this attribute in Row.cs, not Form.cs as the image upload behavior only works if it is in row, otherwise your files will stay in temporary directory.

[AttributeUsage(AttributeTargets.All)]
public class ImageUploadEditorAttribute : BaseUploadEditorAttribute

Public Members

name description
ImageUploadEditorAttribute() Initializes a new instance of the ImageUploadEditorAttribute class.
override IsMultiple { get; }
const Key Editor type key

See Also