Hi,
I need ASP.NET MVC confirmation dialog with dialog result.
I have a command button. When the user click button, i want to show confirmation dialog and if user click YES, set function will be call.
I took a look at the examples. "Create Confirmation Dialog via Promises" is seems to fine. but it doesn't work at my IDE.
I also tried to kendo.confirm. it works but The result is empty when I click on the button for the second time
<div id="confirm"></div><script> $("#confirm").kendoConfirm({ content: "Do you accept?", messages:{ okText: "OK"}}).data("kendoConfirm").result.done(function(){console.log("User accepted"); }).fail(function(){console.log("User rejected");});</script>