This walkthrough shows you how to Using French culture in WebGrid.
During this walkthrough, you will learn how to do the following :
- Bind WebGrid to datasource
- Change the WebGrid's culture to French
Prerequisites
In order to complete this walkthrough, you will need the following:
- Access to the Microsoft Access Northwind database.
- Visual Studio 2005 Application.
Step-By-Step Instructions
To use French culture in WebGrid
- Right click on WebGrid and click on WebGrid.Net Designer.
- Go to Localization Manager tab.
- Set the Language Mode to Inherit from Culture.
- Click OK to apply the changes.
- The picture will be like this.
-
- Now, Right Click on WebGrid to open WebGrid.NET Designer.
- Set focus to Popular Settings - Click See all properties and find Culture property.
- Set Culture to French (French).
- The picture will be like this.
- Finally, compile and run the project. The WebGrid will look like the following snapshot:
Tasks
Walkthrough: Changing the default Localization Text in Localization Manager
Walkthrough: Specifying custom language used in WebGrid
How-to: Specify the Localization folder in web.config
How-to: Specify a TextItem programmatically
Concepts
Localization Manager
References
TextSettings Class
Culture Property
Language Property
Other Resources
Walkthrough Topics
How-to Topics