Why doesn't Popup Kendo close when I click on Update?
When Popup window opens and I click on update, the window doesn't close
I want the window close when I click on Update
jsfiddle code
Button update code
save: function (e) {
$.ajax({
url: '/api/apdevice',
type: 'POST',
contentType: 'application/json',
data: JSON.stringify(e.model),
success: function (data) {
alert('yes');
},
error: function (data) {
alert('no');
}
});
}
No comments:
Post a Comment