Hello,
Isn't it possible to use a Kendo DropDownList in the Grid EditTemplate and pass the Parameter for the Dropdown with the Kendo Template Syntax like this: new {mitgliedid = "#: Mitglied_ID #"}
Here a example:
@(Html.Kendo().DropDownList()
.Name(
"products"
)
.DataTextField(
"ProductName"
)
.DataValueField(
"ProductID"
)
.DataSource(dataSource => { dataSource.Read(read => read.Action(
"Lookup"
,
"Berechtigung"
,
new
{mitgliedid =
"#: Mitglied_ID #"
}))
.ServerFiltering(
true
); })
.ToClientTemplate()
)
or is the only way to pass that parameter in the Grid Edit Event (e.model)?
robert