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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable globalization

Thread ID:





127132 Oct 27,2016 04:26 PM UTC Oct 28,2016 09:15 AM UTC ASP.NET MVC 1
Tags: Grid
Asked On October 27, 2016 04:26 PM UTC

Is there an easy way to disable globalization support on-demand in ASP.NET MVC controls? 
We develop applications for internal users and they all are in the same location geographically. 

Mohammed Farook J [Syncfusion]
Replied On October 28, 2016 09:15 AM UTC

Hi Artem, 
Thanks for contacting Syncfusion Support. 
In Normally Syncfusion ASP.Net MVC controls working by “en-US” culture as default  globalization is not disable. But  if you want to change to specific culture through locale property. For example: 
        .Columns(col => 
            col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(75).Add(); 
            col.Field("CustomerID").HeaderText("Customer ID").Width(90).Add(); 
            col.Field("EmployeeID").HeaderText("Employee ID").TextAlign(TextAlign.Right).Width(80).Add(); 
            col.Field("ShipCity").HeaderText("Ship City").Width(90).Add(); 
Note : we need to include the script reference in your sample  based on your culture. 
<script src="@Url.Content("~/Scripts/cultures/ej.culture.de-DE.min.js")"></script>
    <script src="@Url.Content("~/Scripts/cultures/ej.culture.es-ES.min.js")"></script>
For your reference, Please find the online demo and UG documentation.  
J.Mohammed Farook 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon