function gridChange(e) {
editsMade = true;
try {
var fieldName = e.field;
if (fieldName == "WelderStencil") {
var stencil = e.items[0].WelderStencil;
//Get Welder Information for Stencil
var url = '@Url.Action("GetWelderByStencil", "ContinuityLog", "Yes")';
$.post(url, { stencil: stencil },
function (data) {
if (data.Success != true) {
var confirmation = confirm("This Stencil does not exist. Do you want to add a new Welder?", "Yes", "No")
if (confirmation) {
$("#new_welder_window").data("kendoWindow").center().open();
$("#new_welder_window").data("kendoWindow").refresh();
} // end of confirmation is true
} // End Get Welder Information
else {
e.items[0].WelderName = data.WelderName;
}
}); // end of function
}
}
....
I figured it out. Everything accept the tab. And the WelderName isn't visible until after I tab off of the cell. But I'm getting close.
Thanks. Hope this maybe helpful to someone else having similar issue.