Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.68 KB

File metadata and controls

72 lines (39 loc) · 2.68 KB
layout post
title Globalization Support | NumericTextbox | ASP.NET | Syncfusion
description Learn here about Localization Support with Syncfusion ASP.NET Web Forms Numerictextbox control, its elements, and more.
platform aspnet
control NumericTextbox
documentation ug

ASP.NET Web Forms Numeric Textbox Localization Support

Globalization is language support based on the culture in Textboxes. You can achieve the Globalization using “locale” property in PercentageTextBox .

The PercentageTextBox widget provides multi-language support using globalization. You can customize the PercentageTextBox with your own language style by using this feature. You can change the globalization by using the locale property. The default value for locale property is en-US in PercentageTextBox control.

More than 350 culture specific files are available to localize the value. To know more about EJ globalize support, please refer the below link
https://help.syncfusion.com/js/localization

N> All the culture-specific script files are available within the below specified location, once you have installed Essential Studio in your machine, therefore it is not necessary to download these files explicitly.

'(installed location)\Syncfusion\Essential Studio\{{ site.releaseversion }}\JavaScript\assets\scripts\i18n'
For example, If you have installed the Essential Studio package within C:\Program Files (x86), then navigate to the below location, C:\Program Files (x86)\Syncfusion\Essential Studio\{{ site.releaseversion }}\JavaScript\assets\scripts\i18n

Refer the below German culture file in head section of HTML page after the reference of ej.web.all.min.js file.

{% highlight javascript %}

       <script src="http://cdn.syncfusion.com/{{ site.releaseversion }}/js/i18n/ej.culture.de-DE.min.js"></script>

{% endhighlight %}

You can dynamically change the language based on their culture.

Configuring Localization

Add the following code example in your ASPX page to render the NumericTextbox control.

{% highlight html %}

<ej:NumericTextBox ID="numeric" Value="12345" DecimalPlaces="2" Locale="es-ES" runat="server"> </ej:NumericTextBox>

{% endhighlight %}

The following screenshot displays the output of the NumericTextbox with localization.

Localization-Support_img1 in ASP.NET Web Forms Numeric Textbox

Localization-Support_img2 in ASP.NET Web Forms Numeric Textbox