Skip to main content
Tab

UploadControlValidationSettings.ShowErrors Property

Specifies whether the error message is displayed if the uploaded file does not pass validation.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool ShowErrors { get; set; }

Property Value

Type Default Description
Boolean true

true to show error message; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowErrors
ASP.NET MVC Extensions UploadControlBinderSettings
.ValidationSettings .ShowErrors
UploadControlSettings
.ValidationSettings .ShowErrors
ASP.NET Web Forms Controls ASPxUploadControl
.ValidationSettings .ShowErrors

Remarks

<dx:ASPxUploadControl ID="UploadControl" runat="server" ...>
    <ValidationSettings MaxFileSize="10000000" ShowErrors="false">
    </ValidationSettings>
    ...
</dx:ASPxUploadControl>

Online Demo

ASPxUploadControl - Custom Progress Panel

See Also