Skip to main content

ASPxFileManager.DetailsViewCustomColumnDisplayText Event

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


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.


<dx:ASPxFileManager ID="ASPxFileManager1" runat="server" 
    OnDetailsViewCustomColumnDisplayText="ASPxFileManager1_DetailsViewCustomColumnDisplayText" >
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.


See Also