asp.net text box for decimals

  • Thread starter Thread starter Brent Burkart
  • Start date Start date
B

Brent Burkart

Does anyone know how to create a textbox which shows a fixed decimal
position? In other words I want to show the format necessary with a decimal
in position and when they hit the decimal, it moves the cursor to the right
side of the decimal. Is this possible?

Thanks,
Brent
 
There is no support for this in the framework, so what you would need to do
is create a javascript handler that trapped the onkeydown property and
performed the formatting that you are looking for.
 
Back
Top