Forum
smartDBforms.NET for ASP.NET 2
 
 
Knowledge Base Forum
To post messages on the forum, you need to login first.
SearchForum Home
  Product Forums  smartDBforms.NET  How to change c...
 How to change currency symbol?
 
 12/13/2007 6:19:58 AM
Smir
3 posts


How to change currency symbol?
Hi Adillis

I have two money database fields. Currently in smartdbview they show the dollar sign next to the value. How can I change the currency sign that will be used for display?

Yours sincerely
Smir
 12/14/2007 10:51:09 AM
Adillis Support
27 posts
adillis.com


Re: How to change currency symbol?
Hi Smir,


The currency symbol and currency format for the MoneyTemplate depend on the current culture. The page culture can be changed by modifying the Culture attribute in the <%@ Page %> directive.

If you have any other questions, we will be more than happy to help you.
Best wishes,
Adillis Support
Adillis - IT solutions http://adillis.com



 12/17/2007 4:54:19 AM
Smir
3 posts


Re: How to change currency symbol?
Hi
Thank you. Problem is I cant change locale I need only to change the symbols. The two money fields should display different currency symbols.
 12/17/2007 10:46:57 AM
Adillis Support
27 posts
adillis.com


Re: How to change currency symbol?
Dear Smir,

You can workaround this by using the NumberTemplate instead of the MoneyTemplate. You can manually change the template to be used by modifying the SmartDBControl.TemplateID property. In this case there will be no currency symbol and you will be able to add it directly into the html.

In the next release smartDBforms.NET 1.8 we will add a new feature to the MoneyTemplate template. The MoneyTemplate template will allow modifying of the currency symbol to be used or hiding it.

If you have any other questions, we will be more than happy to help you.
Best wishes,
Adillis Support
Adillis - IT solutions http://adillis.com



 12/20/2007 6:59:34 AM
Smir
3 posts


Re: How to change currency symbol?
Thank you very much. I will download 1.8 version.

Smir
  Product Forums  smartDBforms.NET  How to change c...
Copyright 2006-2008 Adillis Terms Of Use Feedback Contact Us