Tab
A newer version of this page is available. Switch to the current version.

FileManagerItem.FullName Property

Gets the full name of the current item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public string FullName { get; }

Property Value

Type Description
String

A String value that represents the item's full name.

Remarks

The FullName property represents the full name of the current item. The full name includes an item's location path (from the root folder) and an item's name.

Examples

The code below allows end-users to upload only mp3 files to the "Music mp3" folder.

protected void ASPxFileManager1_FileUploading(object source, DevExpress.Web.FileManagerFileUploadEventArgs e) {
      if (e.File.Folder.FullName == "Files\\Music mp3")
            if (e.File.Extension != ".mp3") {
                e.Cancel = true;
                e.Er