I am using asp.net textbox, I want the textbox display currency format as user type-in, the tricky requirement is that automatically add a period (.) before the last two digits, reason for that to prevent user enter a large amount accidentally, so for example:
And also not allow enter any thing else rather than 0 -> 9 (0123456789), the $ sign don't need to be in the textbox but if you can make it to be in front of the number it will be even better, ater on before save to database I will need to trim it down anyway.
I tried to used AJAX MaskedEdit at http://www.ajaxcontroltoolkit.com/MaskedEdit/MaskedEdit.aspx but they are not really helping me archive this since it is predefined format and it has a bug (RemoveMaskOnLostFocus not work). I don't know java-script so I really need help.