aspnet-devexpress-dot-web-dot-uploadcontrolvalidationsettings-96fe1f6b.md
Gets or sets the error text indicating that the specified file’s extension is not allowed.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("This file extension isn't allowed")]
public string NotAllowedFileExtensionErrorText { get; set; }
<DefaultValue("This file extension isn't allowed")>
Public Property NotAllowedFileExtensionErrorText As String
| Type | Default | Description |
|---|---|---|
| String | "This file extension isn't allowed" |
A String value that specifies the error text.
|
You can access this nested property as listed below:
| Library | Object Type | Path to NotAllowedFileExtensionErrorText |
|---|---|---|
| ASP.NET MVC Extensions | UploadControlBinderSettings |
.ValidationSettings .NotAllowedFileExtensionErrorText
| | UploadControlSettings |
.ValidationSettings .NotAllowedFileExtensionErrorText
| | ASP.NET Web Forms Controls | ASPxUploadControl |
.ValidationSettings .NotAllowedFileExtensionErrorText
|
If the uploaded file’s extension is not listed within the UploadControlValidationSettings.AllowedFileExtensions property, an error text specified by the NotAllowedFileExtensionErrorText property is displayed within the ASPxUploadControl ‘s specific error frame.
See Also
UploadControlValidationSettings Class