Table of Contents

Class FileUpload

Namespace
Dynamicweb.CoreUI.Editors.Inputs
Assembly
Dynamicweb.CoreUI.dll
public sealed class FileUpload : EditorBase<string>
Inheritance
FileUpload
Inherited Members
Extension Methods

Properties

Accept

Gets or sets the list of strings that defines the file types the file input should accept. The list of unique file type specifiers.

public List<string> Accept { get; }

Property Value

List<string>

Examples

Accept.Add(".mp4"); Accept.Add("application/msword"); Accept.Add("image/*"); // meaning "any image file"

See Also

Actions

public List<ActionNode> Actions { get; }

Property Value

List<ActionNode>

Multiple

public bool Multiple { get; set; }

Property Value

bool

OnUploadCompleteAction

public ActionBase? OnUploadCompleteAction { get; set; }

Property Value

ActionBase

Path

public string Path { get; set; }

Property Value

string
To top