cut

RichEditCommands.fileOpenDialog Property

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

Declaration

readonly fileOpenDialog: FileOpenDialogCommand

Property Value

Type Description
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.


richEdit.commands.fileOpenDialog.execute();

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

See Also