FileManagerUploadBuilder.MaxFileSize(Double) Method
Specifies the maximum upload file size, in bytes. Mirrors the client-side maxFileSize option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileManagerUploadBuilder MaxFileSize(
double value
)
Parameters
Name | Type | Description |
---|---|---|
value | Double | The option value. |
Returns
Type | Description |
---|---|
FileManagerUploadBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().FileManager()
.Upload(upload => upload
.MaxFileSize(1000000)
)
)
See Also