RichEditCommands.fileSave Property
Gets a command to save the document at its original location on the server.
Declaration
readonly fileSave: FileSaveCommand
Property Value
Type | Description |
---|---|
FileSaveCommand | 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.fileSave.execute();
If the document doesn’t have a location on the server (the document wasn’t saved after its creation), the command invokes the Save As dialog.
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