Skip to main content

RichEditCommands.fileSaveAs Property

Gets a command to save a document in a file with the specified path.


readonly fileSaveAs: FileSaveAsCommand

Property Value

Type Description

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


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

var fileSettings = {
    documentFormat: ASPx.DocumentFormat.Doc,
    fileName: 'document1',
    folderPath: '/'

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