This walkthrough shows you how to specify custom language used in WebGrid.
During this walkthrough, you will learn how to do the following :
- Bind WebGrid to datasource.
- Custom your own language in WebGrid.
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 specify custom language
- Right click on WebGrid and click on WebGrid.Net Designer.
- Go to Localization Manager tab.
- Set the Language Mode to Default (en-US).
- Click Manage Language Files.
- Set Focus to CommonText in TextSetting Items.
- Change "Ready." to "WebGrid is ready" then Enter.
- Click OK to apply the changes.
- The picture will be like this.
- Finally, compile and run the project. The WebGrid will look like the following (see the footer word, already changed to "WebGrid is ready").
Tasks
Walkthrough: Changing the default Localization Text in Localization Manager
Walkthrough: Using French culture in WebGrid
How-to: Specify the Localization folder in web.config
How-to: Specify a TextItem programmatically
Concepts
Localization Manager
References
TextSettings Class
Language Property
TextItems Property
Other Resources
Walkthrough Topics
How-to Topics