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 control whose Enabled property is set to false
.
Solution:
Client scripts are not rendered for a control if its Enabled property is set to false
. This means you cannot access the control on the client. Instead, use the ClientEnabled property to disable the control and make it available on the client.
See Also: