Back to Devexpress

RichEditCommands.fileOpenDialog Property

aspnet-js-richeditcommands-9baa7a2c.md

latest1.3 KB
Original Source

RichEditCommands.fileOpenDialog Property

Gets a command to invoke the File Open dialog allowing one to select and load a document file into RichEdit.

Declaration

ts
get fileOpenDialog(): FileOpenDialogCommand

Property Value

TypeDescription
FileOpenDialogCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.fileOpenDialog.execute();

Opening a document from a server is enabled only when the ASPxRichEdit.WorkDirectory property is defined.

Refer to the following section for more information: Client Commands.

See Also

Open a Document

RichEditCommands Class

RichEditCommands Members