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 resolve "Uncaught TypeError: Cannot read property 'numberFormat' of null " error message?

Problem

When EJ controls are rendered with Localization, the error, Uncaught TypeError: Cannot read property 'numberFormat' of null, occurs. This error occurs when the Locale property value is set to the controls and when you fail to refer to the corresponding culture file.

Solution

In order to resolve this issue, refer to the corresponding culture file in the sample. For example, when CurrencyTextbox is taken, you have to render Currency textbox in the View page with the culture fr-FR, as shown in the following code example.

View

 

When Localization is enabled in the controls, then you have to refer to the corresponding culture as shown in the following code example.

Layout

 

Sample Links:

http://help.syncfusion.com/ug/js/Documents/localizationsupport.htm

http://www.syncfusion.com/uploads/user/forum/119181/[fileExtension]/CurrencyFRLocale126-967480442.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
5152 06/12/2015 06/12/2015 ASP.NET MVC CurrencyTextbox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.