Solved

How can I display thousand separatos durin typing the number

Posted on 2008-10-01
1
219 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 69

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now