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.v24.2.dll
Declaration
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:
Object Type | Path to NullText |
---|---|
ASPxFileManager |
|
Remarks
The NullText property defines the prompt text to be displayed in the upload panel’s text box if no file is selected.
Example
Web Forms (in markup):
<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