Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2004, 01:23 PM
Authorized User
 
Join Date: Feb 2004
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mahulda
Default Currency value in textboxes

I have a TextBox which takes in values that represent some
currency value.
Can I somehow have commas be inserted after every third digit that
the user inputs.

like $ 123,456,000
       Rs. 10,500

__________________
-.. -..
 
Old April 6th, 2004, 02:10 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You'll have to do all this with some javascript parsing when the onKeyPress, onKeyUp, or onKeyDown client-side event occurs.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting currency drmacy BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 September 20th, 2007 04:59 PM
Currency mjbkelly Beginning VB 6 1 March 22nd, 2007 07:14 AM
Currency Format heerajee Pro PHP 2 June 5th, 2006 02:24 AM
Formatting currency chelechele JSP Basics 0 April 5th, 2005 06:00 PM
currency codes jgcvasquez VB Databases Basics 3 February 28th, 2004 02:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.