Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsUpload.NullText Property

Gets or sets the prompt text displayed within the upload panel‘s text box when no file is selected.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("")]
public string NullText { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the prompt text.

Property Paths

You can access this nested property as listed below:

Remarks

The NullText property defines the prompt text to be displayed in the upload panel’s text box if no file is selected.

UploadControl_NullText

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsUpload ShowUploadPanel="true" NullText="Select a file..." />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsUpload.ShowUploadPanel = true;
fm.SettingsUpload.NullText = "Select a file...";

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsUpload.ShowUploadPanel = true;
    settings.SettingsUpload.NullText = "Select a file...";
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also