UploadControlValidationSettings.NotAllowedFileExtensionErrorText Property
Gets or sets the error text indicating that the specified file’s extension is not allowed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue("This file extension isn't allowed")]
public string NotAllowedFileExtensionErrorText { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | "This file extension isn't allowed" | A String value that specifies the error text. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to NotAllowedFileExtensionErrorText |
---|---|---|
ASP.NET MVC Extensions | UploadControlBinderSettings |
|
UploadControlSettings |
|
|
ASP.NET Web Forms Controls | ASPxUploadControl |
|
Remarks
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