Back to Devexpress

ASPxFileManager.SelectedFileOpened Event

aspnet-devexpress-dot-web-dot-aspxfilemanager-37011c41.md

latest1.8 KB
Original Source

ASPxFileManager.SelectedFileOpened Event

Fires on the server side when an end-user opens a file by double-clicking it or pressing the Enter key.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event FileManagerFileOpenedEventHandler SelectedFileOpened
vb
Public Event SelectedFileOpened As FileManagerFileOpenedEventHandler

Event Data

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

PropertyDescription
FileGets a file related to the event.

Remarks

Write a SelectedFileOpened event handler to perform specific actions on the server side, each time a user is going to open a file using any of the following methods:

  • double-clicking a file;
  • pressing the Enter key when a file is selected.

You can use the event parameter’s property FileManagerFileOpenedEventArgs.File to identify the opened file.

See Also

SelectedFileOpened

File Manager

ASPxFileManager Class

ASPxFileManager Members

DevExpress.Web Namespace