DevExpress – Error: Unable to get property ‘validator’ of undefined or null reference

In case of Error:

Error: Unable to get property ‘validator’ of undefined or null reference

Add to web.config (at the end in <devExpress> section):

<resources>

<add
type=ThirdParty />

<add
type=DevExtreme />

</resources>

Like here: