Skip to main content
cut

RichEditCommands.fileSaveAsDialog Property

Gets a command to invoke the Save As dialog that prompts for a file name and saves the current document in a file with the specified path.

#Declaration

TypeScript
get fileSaveAsDialog(): FileSaveAsDialogCommand

#Property Value

Type Description
FileSaveAsDialogCommand

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.fileSaveAsDialog.execute();

Saving a document to the server is enabled only when the ASPxRichEdit.WorkDirectory property is defined.

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

See Also