Skip to main content
Tab

ASPxFileManager.DetailsViewCustomColumnDisplayText Event

Allows you to specify the display text of a custom column cell.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public event FileManagerDetailsViewCustomColumnDisplayTextEventHandler DetailsViewCustomColumnDisplayText

Event Data

The DetailsViewCustomColumnDisplayText event's data class is FileManagerDetailsViewCustomColumnDisplayTextEventArgs. The following properties provide information specific to this event:

Property Description
Column Gets the column whose cells are currently being processed.
DisplayText Specifies the display text for the cell currently being processed.
EncodeHtml Gets or sets a value that specifies whether the column display text keeps any of its values that are HTML as HTML, or instead, strips out the HTML markers.
File Gets the file whose information is processed.
Item Gets the file manager’s item whose information is processed.

Remarks

<dx:ASPxFileManager ID="ASPxFileManager1" runat="server" 
    OnDetailsViewCustomColumnDisplayText="ASPxFileManager1_DetailsViewCustomColumnDisplayText" >
    ...
</dx:ASPxFileManager>
protected void ASPxFileManager1_DetailsViewCustomColumnDisplayText(object source, DevExpress.Web.FileManagerDetailsViewCustomColumnDisplayTextEventArgs e) {
    e.DisplayText = e.File.Extension.Remove(0, 1);
}

Set the AllowCustomizeFolderDisplayText property to true to raise the DetailsViewCustomColumnDisplayText event for folders.

Concept

See Also