Hi,
We have a grid with a foreignkey column. This column has to call an edit template Dropdownlist with cascade property .
It's possible show the value in dropdownlist when update state is selected.
Thanks for your responds.
Xavier.
We have a grid with a foreignkey column. This column has to call an edit template Dropdownlist with cascade property .
columns.ForeignKey(f => f.CatalogReference, (System.Collections.IEnumerable)ViewBag.Cataleg, "Reference", "Descripcio").EditorTemplateName("CatalegReferenceByType");@model object(Html.Kendo().DropDownList() .Name("CatalogReference") .AutoBind(true) .OptionLabel("Select reference...") .DataTextField("Descripcio") .DataValueField("Reference") //.HtmlAttributes(new { data_skip = "true", data_bind = "defferedValue: object" }) //.BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"]) .DataSource(source => { source.Read(read => read.Action("PopulateReferences", "Catalog").Data("filterTypes")) .ServerFiltering(true); }) .CascadeFrom("Tipus") .HtmlAttributes(new { id = Guid.NewGuid().ToString() }))It's possible show the value in dropdownlist when update state is selected.
Thanks for your responds.
Xavier.