Sys.ParameterCountException on extend of simple textbox control using microsoft js

239 views Asked by At

Here s my code trying to extend a textbox with microsoft ajax libary

On Page code is as follows :

Code on the Default.aspx page

Code in the .js file

.Js file

The error on debug is as follows

Dubug error in microsoft js file

what wrong am i doing in my code ?

1

There are 1 answers

0
user581157 On BEST ANSWER

The Error was in the constructor of the class which needed the element to be passed in the initializeBase method . Please see below .

enter image description here