Hi everyone,
this my scenario:
I have a Kendo UI Window like this:
@(Html.Kendo().Window()
.Name("modalWindow")
.Modal(true)
.Draggable(true)
.Visible(false)
.Events(ev=>ev.Close("updateDropDownDs"))
)
I open this Window with content loaded from partial View with this code:
function showModalGrid(tableType, tableController, memberName) {
var modWin = $("#modalWindow").data("kendoWindow");
$("#modalWindow").kendoWindow(
{
content: {
url: "/TableEditing/GenericGrid",
data: {
tableType: tableType,
tableController: tableController,
}
},
modal:true,
});
modWin.center();
modWin.open();
}
By the CLOSE event Window call this Method:
function updateDropDownDs() {
var targetCombo;
targetCombo= $("#target").data("kendoDropDownList");
targetCombo.dataSource.read();
}
On first time everything work fine, CLOSE event don't fire.
With debug in chrome i've seen after exiting from updateDropDownDs method I have this error:
http://localhost:58647/Scripts/kendo/src/js/kendo.colorpicker.js 404 (Not Found)
I don't understand why I have this error. I don't have any colorpicker in my solution.
Someone can help me?
Thanks.
this my scenario:
I have a Kendo UI Window like this:
@(Html.Kendo().Window()
.Name("modalWindow")
.Modal(true)
.Draggable(true)
.Visible(false)
.Events(ev=>ev.Close("updateDropDownDs"))
)
I open this Window with content loaded from partial View with this code:
function showModalGrid(tableType, tableController, memberName) {
var modWin = $("#modalWindow").data("kendoWindow");
$("#modalWindow").kendoWindow(
{
content: {
url: "/TableEditing/GenericGrid",
data: {
tableType: tableType,
tableController: tableController,
}
},
modal:true,
});
modWin.center();
modWin.open();
}
By the CLOSE event Window call this Method:
function updateDropDownDs() {
var targetCombo;
targetCombo= $("#target").data("kendoDropDownList");
targetCombo.dataSource.read();
}
On first time everything work fine, CLOSE event don't fire.
With debug in chrome i've seen after exiting from updateDropDownDs method I have this error:
http://localhost:58647/Scripts/kendo/src/js/kendo.colorpicker.js 404 (Not Found)
I don't understand why I have this error. I don't have any colorpicker in my solution.
Someone can help me?
Thanks.