Skip to main content

RichEditSettings.WorkDirectory Property

Specifies the work directory.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string WorkDirectory { get; set; }

Property Value

Type Description
String

The work directory.

Remarks

Specify the WorkDirectory property to enable the Open and Save As UI commands. Users cannot access the file system outside the specified directory.

@Html.DevExpress().RichEdit(settings => {
    settings.Name = "RichEdit";
    settings.CallbackRouteValues = new { Controller = "DocumentManagement", Action = "LoadAndSavePartial" };
    settings.WorkDirectory = "~/App_Data/Documents";
}).GetHtml()
See Also