The requested page is not available for the requested platform. You are viewing the content for Default platform.
ID

TreeListBuilder<T>.OnDataErrorOccurred(String) Method

This method sets the client-side onDataErrorOccurred option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<T> OnDataErrorOccurred(
    string jsFunc
)

Parameters

Name Type Description
jsFunc String

Returns

Type Description
TreeListBuilder<T>

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().TreeList().OnDataErrorOccurred(...)
See Also