Hi all,
Myself having a textbox which is indented to enter the Currency of a particular good, and its working fine.
Now the problem is , I want to format the way currency looks like. ie, a ',' is needed after every thousand. eg, xx,xxx,xxxx,xxx ,xxx.00 likewise.
I want to do it while entering the value itself and have to use ASP.NET localize for that. I'm still confused about it. anyone have any idea?
Asp.net 2.0, c#
Thanks,
Siju George
1 1201 Frinavale 9,735
Recognized Expert Moderator Expert
Hi all,
Myself having a textbox which is indented to enter the Currency of a particular good, and its working fine.
Now the problem is , I want to format the way currency looks like. ie, a ',' is needed after every thousand. eg, xx,xxx,xxxx,xxx ,xxx.00 likewise.
I want to do it while entering the value itself and have to use ASP.NET localize for that. I'm still confused about it. anyone have any idea?
Asp.net 2.0, c#
Thanks,
Siju George
Since you want to do this while the value is being entered you are going to have to develop a Client Side script (using JavaScript) to format the TextBox's contents during the "onkeyup" event.
-Frinny
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: John L |
last post by:
Well, another basic type of question...amazing how much I've forgotten -
never was a VB guru, but. I can see I'll have to pick up a couple VB5
instruction books - any suggestions on a couple good (basic level) learning
VB books?
Okay - in my database I have a sales total box (textsalestotal) and want to
multiply whatever that figure is by .07617 which is Missouri tax - if I just
use a click event to multiply, for example $30.34 * .07617...
|
by: Mukesh Kumar |
last post by:
hi
I am trying to pass range parameters to crystal reports from my .net environment. The start and end values of the range parameters are of currency type. I need to convert the number to currency data type for which I am using CCur function provided by .Net, but it throws an error stating "The name 'CCur' does not exist in the class or namespace.
Any help would be appreciated. Thanks in advance
Mukes
|
by: Dalan |
last post by:
This should not be an issue, but it is. I'm sure that someone knows
what little piece of code is needed too persuade Access 97 to include
a currency format for labels (Avery, mailing type). Have had no
problems with currency formatting on reports - just the labels.
Doesn't matter if the associated field in the Table and Form have
Format as Currency, because on the labels (for instance $50.00) prints
as: 50 The only way to get it to print...
|
by: news.shaw.net |
last post by:
I have a subform that contains a currency field.
If I tab my way to the field, everything works as desired, a number can
be entered, and when I leave the field it is rendered as a currency amount.
But if I click on the field with the mouse and enter a number, it shows
up like this: 250.00$0.00 with the $0.00 appended to what I type. I
have to delete it each time.
I've tried a few VBA OnEnter solutions, but nothing has worked so...
|
by: Gerry Abbott |
last post by:
Hi All.
How can i put a zero decimal for my currency into my format statement,
== & ", for " & & " days. Cost " &
Format(,"Currency")
which is the data source for a textbox on a report
| |
by: pebelund |
last post by:
Hi
I got an .aspx that got the following code (example)
<td width="120">
<% = row %>
</td>
row takes a value from a SQL db, that is a string of numbers.
On the webbsite I want this to show as value formatted in thousands
(example: I get the value 12345678, and I want it to show like 12 345
|
by: SMichal |
last post by:
Hi, how can I parse string "? 20.000" to double ?
|
by: Dilip |
last post by:
Recently in our code, I ran into a situation where were stuffing a
float inside a double. The precision was extended automatically
because of that. To make a long story short, this caused problems
elsewhere in another part of the system where that figure was used for
some calculation and some eventual truncation led to the system going
haywire. So my question is, given this code:
int main()
{
float f = 59.89F;
|
by: missinglinq |
last post by:
From the Access Object Dialog Box click on "Modules"
Click on new to make a new module
Copy then paste the following code into the new module:
Function SayNo(ByVal N As Currency) As String
Const Thousand = 1000@
Const Million = Thousand * Thousand
Const Billion = Thousand * Million
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |