Telerik Extensions for ASP.NET MVC

Version Q2 2012, released 06/07/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")
    %>
    

Interested in HTML5 and mobile-powered ASP.NET MVC apps?

Experience the next generation UI and framework for ASP.NET MVC development by downloading trial evaluation copy of Kendo UI Complete for ASP.NET MVC. Jumpstart your development with the available learning resources.

The differences between Telerik MVC Extensions and Kendo UI Complete for ASP.NET MVC, and their licensing models are explained here and here.

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

Other Demos: