@(Html.Kendo().Grid<MasterSuiteMultiPais.Models.SURVEY>()
.Name("grid")
.Columns(columns =>
{......
.Events(events => events.Save("Updateddl"))
....
and this is my function to update
<script type="text/javascript">
function Updateddl() {
$("#encuestas").data('kendoDropDownList').dataSource.read()
or
var cat = $("#encuestas").data("kendoDropDownList");
cat.dataSource.read();
cat.refresh();
}
</script>
but this no have effect the dropdownlist is in the same page an the same controller
this is the DDL i like to update
@(Html.Kendo().DropDownList()
.Name("encuestas")
.HtmlAttributes(new { style = "width:200px" })
.OptionLabel("Seleccione una encuesta...")
.DataTextField("surv_name")
.DataValueField("surv_id")
.Events(e => e.Change("change"))
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetSurvey", "Survey");
});
})
)
Gracias!