asp.net text box for decimals

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
 
C

Chris Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top