Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Double.ToString("C") cause web page display problem: "$" sign does not shown properly.

Reply
Thread Tools

Double.ToString("C") cause web page display problem: "$" sign does not shown properly.

 
 
Norman Yuan
Guest
Posts: n/a
 
      01-26-2006
I posted this issue a while ago. After moveing the ASP.NET 1.1 app to a
brand new server, the same problem still there.

System: Winows2003 server std. .NET 1.1
App: Invoicing system

Problem:

Since the app is dealing with money amount a lot, in many place I used
Double.ToString("C") to show a number as money amount on the web page. There
is no problem on my developing/testing computer. It is alos OK on the
production server, if there is no much work load to this app. However, if
work load increases, the "$" then becomes a non-printable dot or a small
square. It happens on all clients' browser. So, I am pretty sure it does not
happen at client end. Restart the server cures it, but stop and restart IIS
service does not help. Also, if the work load of this app slows down long
enough, say in the night when no one is in office to use the app, the
problem goes away without the need to re-start the server.

To prove it to myself, I change quite a few Double.ToString("C") to "$" +
Double.ToString("F"), then these changed "$" sign printed on screen OK. I
also tried to change the font I have used (all are very generic fonts Arial,
Miscrosoft Sans Serif...). No help.

So far, I can only say it is something on the server for sure.

Does anyone have this kind of experience or have some ideas on this?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plus sign not shown souporpower@gmail.com Javascript 5 10-17-2008 02:50 PM
Web server controls not shown on a web form abcd ASP .Net Web Controls 2 05-25-2005 11:04 PM
will all these messages cause a problem . I am a new subscriber and my computer is downloading 100,000 messages. Will this cause any kind of a problem with my ability to store other items?? Camille White Camille White Computer Support 9 11-08-2004 01:13 AM
When use MIME::Lite module the attachment clip sign not shown for attachments Jane Humbrey Perl Misc 5 09-01-2003 12:23 AM
NOT SHOWN. The page is not shown until refresh it ! Mete Akalın ASP General 1 07-25-2003 11:28 AM



Advertisments