There can be multiple reasons of having undefined values
Object does not exist. Like you create an object of a control which does not exists in your page and when you access it, it is undefined.
No value is assigned to the object.
If you are trying to access a property which does not exists for the object.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.