We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to change or remove currency symbol?

Thread ID:

Created:

Updated:

Platform:

Replies:

121361 Dec 7,2015 01:37 AM Dec 9,2015 05:45 AM ASP.NET MVC 1
loading
Tags: CurrencyTextbox
Manish
Asked On December 7, 2015 01:37 AM

Hi,

I am using CurrencyTextBoxFor in my project I don't see any method / way to change the currency symbol,
Is there any way to change or remove currency symbol?

Francis Paul Antony Raj [Syncfusion]
Replied On December 9, 2015 05:45 AM

Hi Manish,


Thanks for contacting Syncfusion support.


Yes, you can change the currency symbol to desired localization. For that you need to add the script file of appropriate localization and then add the Locale property in the sample. Please refer to the following code snippet.

<script src="~/Scripts/cultures/globalize.culture.de-DE.min.js"></script>

<script src="~/Scripts/cultures/globalize.culture.en-US.min.js"></script>

<script src="~/Scripts/cultures/globalize.culture.es-ES.min.js"></script>

<script src="~/Scripts/cultures/globalize.culture.fr-FR.min.js"></script>



@Html.EJ().CurrencyTextBoxFor(x => x.currency).Locale("fr-FR").ShowRoundedCorner(true).Value(500)



Since numerictextbox and currencytextbox has same propertied, methods, events, If you don’t need any currency symbol in the textbox, you can use NumericTextBoxFor to display the digits. For your convenience, we have attached the sample in the following link.

http://www.syncfusion.com/downloads/support/forum/121361/ze/CurrencyTextboxFor372770496

To know more about CurrencyTextBox control, please refer to the getting started link as mentioned below,

http://help.syncfusion.com/aspnetmvc/currencytextbox/overview

For CurrencyTextBox properties, methods, and events, refer to the below link:

http://help.syncfusion.com/js/api/ejtextboxes


Regards,

Francis Paul A


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;