Telerik Extensions for ASP.NET MVC

Gets or sets the format for displaying the data.

Namespace: Telerik.Web.Mvc.UI.Fluent
Assembly: Telerik.Web.Mvc (in Telerik.Web.Mvc.dll) Version: 2012.2.611.235 (2012.2.611.235)

Syntax

C#
public GridBoundColumnBuilder<T> Format(
	string value
)
JavaScript
function Format(value);

Parameters

value
Type: System..::..String
The value.

Examples

CopyC#
 <%= Html.Telerik().Grid(Model)
            .Name("Grid")
            .Columns(columns => columns.Bound(o => o.OrderDate).Format("{0:dd/MM/yyyy}"))
%>

See Also