Hi
I worked with Telerik.Web.MVC version 2012.3.1018.
I upgraded to Telerik.Web.MVC verison 2013.2.611.
Unfortunatlely my grid do not work with this new version.
It can’t find commands.custom().
It tell my, that it can't find this definition.
My code :
@(Html.Telerik().Grid<Mail>()
.Name("Grid")
.DataKeys(keys => keys.Add(c => c.ID))
.DataBinding(dataBinding =>
dataBinding.Ajax()
.Select("_Index", "Geschaeft")
)
.Columns(columns =>
{
columns.Command(commands =>
{
commands.Custom("editDetail")
.ButtonType(type)
.HtmlAttributes(new { @class = "editDetail", @title = "Geschäft editieren" })
.Text("edit")
.DataRouteValues(route =>
route.Add(o => o.GeschaeftID).RouteKey("ID"))
.Ajax(false)
.Action("Edit", "Geschaeft", (RouteValueDictionary)ViewBag.GridState);
}).Width(38).Title("");
...
What can I do?
Thank you for your assistance.
I worked with Telerik.Web.MVC version 2012.3.1018.
I upgraded to Telerik.Web.MVC verison 2013.2.611.
Unfortunatlely my grid do not work with this new version.
It can’t find commands.custom().
It tell my, that it can't find this definition.
My code :
@(Html.Telerik().Grid<Mail>()
.Name("Grid")
.DataKeys(keys => keys.Add(c => c.ID))
.DataBinding(dataBinding =>
dataBinding.Ajax()
.Select("_Index", "Geschaeft")
)
.Columns(columns =>
{
columns.Command(commands =>
{
commands.Custom("editDetail")
.ButtonType(type)
.HtmlAttributes(new { @class = "editDetail", @title = "Geschäft editieren" })
.Text("edit")
.DataRouteValues(route =>
route.Add(o => o.GeschaeftID).RouteKey("ID"))
.Ajax(false)
.Action("Edit", "Geschaeft", (RouteValueDictionary)ViewBag.GridState);
}).Width(38).Title("");
...
What can I do?
Thank you for your assistance.