MVCxTreeListBatchUpdateValues<T, S>.SetErrorText(MVCxTreeListNodeInfo<T>, String) Method
In This Article
Displays error text for a node.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
node | MVCx |
The node. |
error |
String | The error text. |
#Remarks
Controller:
public ActionResult BatchEditingUpdateModel(MVCxTreeListBatchUpdateValues<EditablePost, int> updateValues, BatchEditingDemoOptions options) {
// ...
updateValues.SetErrorText(node.DataItem, "error message");
}
See Also