Back to Devexpress

UploadControlValidationSettings.MaxFileCountErrorText Property

aspnet-devexpress-dot-web-dot-uploadcontrolvalidationsettings-4629e87f.md

latest2.9 KB
Original Source

UploadControlValidationSettings.MaxFileCountErrorText Property

Gets or sets the error text indicating that the number of files selected for upload exceeds the maximum allowed value.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("{0} file(s) have been removed from the selection because they exceed the limit of files to be uploaded at once (which is set to {1}).")]
public string MaxFileCountErrorText { get; set; }
vb
<DefaultValue("{0} file(s) have been removed from the selection because they exceed the limit of files to be uploaded at once (which is set to {1}).")>
Public Property MaxFileCountErrorText As String

Property Value

TypeDefaultDescription
String"{0} file(s) have been removed from the selection because they exceed the limit of files to be uploaded at once (which is set to {1})."

A String value that specifies the error text.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to MaxFileCountErrorText
ASP.NET MVC ExtensionsUploadControlBinderSettings

.ValidationSettings .MaxFileCountErrorText

| | UploadControlSettings |

.ValidationSettings .MaxFileCountErrorText

| | ASP.NET Web Forms Controls | ASPxUploadControl |

.ValidationSettings .MaxFileCountErrorText

|

Remarks

The error text is displayed in the ASPxUploadControl‘s specific error frame if the number of files selected for upload exceeds the value defined by the UploadControlValidationSettings.MaxFileCount property.

See Also

MaxFileCount

UploadControlValidationSettings Class

UploadControlValidationSettings Members

DevExpress.Web Namespace