UploadFileBuilder
Methods
Extension(System.String)
The extension of the initial file.
Parameters
value - System.String
The value for Extension
RETURNS
Returns the current UploadFileBuilder instance.
Example
Razor
@( Html.Kendo().Upload()
.Name("files")
.Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
.Async(a => a
.Save("Save", "Compose")
.Remove("Remove", "Compose")
)
)
Name(System.String)
The name of the initial file.
Parameters
value - System.String
The value for Name
RETURNS
Returns the current UploadFileBuilder instance.
Example
Razor
@( Html.Kendo().Upload()
.Name("files")
.Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
.Async(a => a
.Save("Save", "Compose")
.Remove("Remove", "Compose")
)
)
Size(System.Double)
The size of the initial file.
Parameters
value - System.Double
The value for Size
RETURNS
Returns the current UploadFileBuilder instance.
Example
Razor
@( Html.Kendo().Upload()
.Name("files")
.Files(files => files.Add().Name("file.txt").Size(500).Extension(".txt"))
.Async(a => a
.Save("Save", "Compose")
.Remove("Remove", "Compose")
)
)