Fires on the client side when an end-user opens a file by double-clicking it or pressing the Enter key.
The SelectedFileOpened event handler receives an argument of the ASPxClientFileManagerFileOpenedEventArgs type. The following properties provide information specific to this event.
Gets a file related to the event.
(Inherited from ASPxClientFileManagerFileEventArgs)
|processOnServer||Gets or sets a value that specifies whether the event should be finally processed on the server side.|
Write a SelectedFileOpened event handler to perform specific actions on the client side each time an end-user is going to open a file using any of the following methods:
You can use the event parameter's property ASPxClientFileManagerFileEventArgs.file to identify the opened file.
If the processOnServer property is set to false, the SelectedFileOpened event is completely handled on the client side, using the assigned JScript handler without a postback to the server.
Setting the processOnServer property to true indicates that the final processing of the event should be performed on the server side, and so a round trip to the server is required. During such a round trip, the corresponding server-side ASPxFileManager.SelectedFileOpened event is fired, which when handled, allows any desired server-side action to be performed.