This demo illustrates how you can use resources to incorporate different languages and cultures in ASP.NET MVC applications with DevExpress extensions.
In this demo, you can select the required culture with a combo box and apply it to the GridView. When the language is changed, GridView changes the following:
- The column captions. Each column's Caption property is set to a corresponding resource value. When the current culture is changed, the required resource value is retrieved.
- Date formatting. GridView columns automatically display DateTime values based on the applied culture.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos