Skip to main content

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.1.dll

NuGet Package: DevExpress.Web


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 Web Forms Controls ASPxUploadControl
.ValidationSettings .ShowErrors
ASP.NET MVC Extensions UploadControlBinderSettings
.ValidationSettings .ShowErrors
.ValidationSettings .ShowErrors


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

Online Demo

ASPxUploadControl - Custom Progress Panel

See Also