FileUploaderBuilder.InvalidMaxFileSizeMessage(String) Method
The text displayed when the size of the file being uploaded is greater than the maxFileSize. Mirrors the client-side invalidMaxFileSizeMessage option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileUploaderBuilder InvalidMaxFileSizeMessage(
string value
)
Parameters
Name | Type | Description |
---|---|---|
value | String | The option value. |
Returns
Type | Description |
---|---|
FileUploaderBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().FileUploader()
.InvalidMaxFileSizeMessage("My message")
)
See Also