The control uses javascript to handle number formatting as you keep typing and does the validation as well. For one of our requirement, we needed a javascript based control that did formatting as the users kept typing. Google search only yielded script that did formatting on focus change events only. So I went about creating a new control myself.