Skip to main content

MVCxTreeListBatchUpdateValues<T, S>.SetErrorText(MVCxTreeListNodeInfo<T>, String) Method

Displays error text for a node.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetErrorText(
    MVCxTreeListNodeInfo<T> node,
    string errorText
)

Parameters

Name Type Description
node MVCxTreeListNodeInfo<T>

The node.

errorText String

The error text.

Remarks

Controller:

public ActionResult BatchEditingUpdateModel(MVCxTreeListBatchUpdateValues<EditablePost, int> updateValues, BatchEditingDemoOptions options) {
    // ...
    updateValues.SetErrorText(node.DataItem, "error message");
}
See Also