Hello Community,
I have a syntax problem, which even with extensive internet search, I found no solution.
I want to create a grid with a function bound to the "DataBound" and t
My Syntax is like this (incomplete snippet here, but correct:working)
@(Html.Kendo ().Grid<mvcEw.Models.WeldersModel> (Model)
.Name ("MasterGrid")
.Events (events => events.DataBound ("gridDataBound"))
.HtmlAttributes (new { style = "height:100%;" })
...
But this binds only the "DataBound" Event. How can I add here additionally the "DataBinding" Event? An additional row like
.Events (events => events.DataBinding ("gridDataBinding"))
direct under the first .Event row gives syntax and runtime error. I'm stuck here.
All Samples in the net bind only one event like this and I don`t want to bind afterwords via JavaScript. All declaration should be together for this grid.
In hope for help
Thomas
I have a syntax problem, which even with extensive internet search, I found no solution.
I want to create a grid with a function bound to the "DataBound" and t
he "DataBinding" event.My Syntax is like this (incomplete snippet here, but correct:working)
@(Html.Kendo ().Grid<mvcEw.Models.WeldersModel> (Model)
.Name ("MasterGrid")
.Events (events => events.DataBound ("gridDataBound"))
.HtmlAttributes (new { style = "height:100%;" })
...
But this binds only the "DataBound" Event. How can I add here additionally the "DataBinding" Event? An additional row like
.Events (events => events.DataBinding ("gridDataBinding"))
direct under the first .Event row gives syntax and runtime error. I'm stuck here.
All Samples in the net bind only one event like this and I don`t want to bind afterwords via JavaScript. All declaration should be together for this grid.
In hope for help
Thomas