I am trying to load a combobox inside a kendo window, but it does not load me. the code I have is the following:
@{Html.Kendo().Window()
.Name("winAplicar")
.Title(Resource.TituloAsignar)
.Draggable(false)
.Scrollable(false)
.Modal(true)
.Width(950)
.Height(200)
.Visible(false)
.Render();
}
the following function takes care of obtaining the model that will contain the window
function abrirVentana() {
var win = $("#winAplicar").data("kendoWindow");
var url = '@Url.Action("_CambiarEstatus", "AsignaPoliticaPago", new { area = "Nomina" })';
win.refresh({
url: url
});
setTimeout(function () {
win.center().open();
}, 200)
}
public ActionResult _CambiarEstatus(SecurityContext securityContext)
{
return View(new AsignaPoliticaPagoViewModel() { CLA_POLITICA_PAGO2 = 2 });
}
but it only shows it in blank