Here s my code trying to extend a textbox with microsoft ajax libary
On Page code is as follows :

Code in the .js file

The error on debug is as follows

what wrong am i doing in my code ?
Here s my code trying to extend a textbox with microsoft ajax libary
On Page code is as follows :

Code in the .js file

The error on debug is as follows

what wrong am i doing in my code ?
The Error was in the constructor of the class which needed the element to be passed in the initializeBase method . Please see below .