This question is locked. New answers and comments are not allowed.
Hello,
We are trying to format datetime column when used with anonymous object, but the following doesn't work:
@(Html.Telerik().Grid<dynamic>().Name("Grid")
.DataBinding(binding => binding.Ajax().Select("LoadData", "Home"))
.Columns(columns =>
{
columns.Bound("Name").Width("200px");
columns.Bound("Birth").Format("{0:d}");
}
))
The format property on the birth column is ignored and the result look like: Tue May 3 00:00:00 UTC+0300 2011
Thank you!
We are trying to format datetime column when used with anonymous object, but the following doesn't work:
@(Html.Telerik().Grid<dynamic>().Name("Grid")
.DataBinding(binding => binding.Ajax().Select("LoadData", "Home"))
.Columns(columns =>
{
columns.Bound("Name").Width("200px");
columns.Bound("Birth").Format("{0:d}");
}
))
The format property on the birth column is ignored and the result look like: Tue May 3 00:00:00 UTC+0300 2011
Thank you!