Skip to main content
A newer version of this page is available. .

ASPxClientFileManagerFileEventArgs.file Property

Gets a file related to the event.

Declaration

file: ASPxClientFileManagerFile

Property Value

Type Description
ASPxClientFileManagerFile

An ASPxClientFileManagerFile object that represents a file currently being processed.

Example

The code below demonstrates how you can use the client GetFullName method to display the selected file’s full name.

<dx:ASPxLabel ID="ASPxLabel1" runat="server" ClientInstanceName="label" Text="Files">
</dx:ASPxLabel>

<dx:ASPxFileManager ID="ASPxFileManager1" runat="server" ClientIDMode="AutoID">
    <Settings ThumbnailFolder="~\Thumb" Rootfolder="~\"></Settings>
    <ClientSideEvents SelectedFileChanged="function(s, e) {
    if(e.file)
            label.SetText(e.file.GetFullName());}" />
</dx:ASPxFileManager>
See Also