Telerik Extensions for ASP.NET MVC

Version Q1 2012, released 04/19/2012

Localization

Select culture

Drag a column header and drop it here to group by that column
No records to display.
Displaying items 0 - 0 of 0

About this example ASPXRazor

This example shows the localize Telerik Grid for ASP.NET MVC.

You can use any of the following ways to localize the grid:

  • Set the UICulture property of the Page directive:
    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" UICulture="de-DE" %>
    
  • Set the CurrentUICulture property of the CurrentThread in the action method:
    public ActionResult Index()
    {
        System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");
    }
    
  • Use the Localizable method of the grid:
    <%= Html.Telerik().Grid(Model)
            .Name("Grid")
            .Localizable("de-DE")
    %>
    

Get more than expected!

Take the Telerik Extensions for ASP.NET MVC to your Visual Studio projects to truly experience their power. Download your free copy now and jumpstart your development with the available learning resources.

The Extensions are offered in both open source and commercial versions the differences between which are well explained in the licensing FAQ.

If you have any questions, do not hesitate to contact us at sales@telerik.com.

Other Demos: