Skip to main content

The 'ReferenceError: 'X' is not defined' error message appears when the Control.Enabled property is set to false

Error Description:

The “ReferenceError: X is not defined” error message appears when you try to access a DevExpress ASP.NET MVC extension whose Enabled property is set to false.

Solution:

Client scripts are not rendered for an extension if its Enabled property is set to false. This means you cannot access the extension on the client. Instead, use the ClientEnabled property to disable the extension and make it available on the client.

See Also: