Solved

How can I display thousand separatos durin typing the number

Posted on 2008-10-01
1
220 Views
Last Modified: 2012-05-05
Hi,

I need to display thousand separator durin the typing of the number in a textbox like a calculator, and also transform the number when it is called from the database to the texbox

example 8,993,994

Thanks
0
Comment
Question by:Celorza
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 125 total points
ID: 22615244
you should not do that while the user is typing, you should only format it when in the LEAVE event and remove the format in the ENTER event. otherwise you have to handle every keypress (like backspace, delete, ...) to reposition delimiters
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question