Skip to main content
All docs

RichEdit Ribbon UI

Users can select commands on the File ribbon tab to manage documents.

File Tab

If ASPxRichEdit works with documents in a file system, specify the WorkDirectory property to make the Open and Save As operations available. Users cannot access the file system outside the specified directory.

<dx:ASPxRichEdit ID="ASPxRichEdit1" runat="server" WorkDirectory="~/App_Data/WorkDirectory">

If you use a custom document storage that is not based on a file system, the WorkDirectory and built-in document management ribbon commands have no effect. Hide the built-in ribbon’s File tab and implement a custom UI to open and save documents.

Restrict User Operations

The ASPxRichEdit control allows you to restrict document management operations available to users. Use RichEdit behavior settings to enable, disable, or hide each operation.

<dx:ASPxRichEdit ID="ASPxRichEdit1" runat="server" WorkDirectory="~/App_Data/WorkDirectory">
        <Behavior CreateNew="Disabled" Open="Disabled" Save="Hidden" SaveAs="Enabled" />