When i create a window the the below code it assigns the "error" handler to the "refresh" handler in JS. I'm guessing this is a bug.
Html.Kendo().Window()
.Name("createDocWin")
.Modal(true)
.Draggable(false)
.Height(300)
.Resizable(r => r.Enabled(false))
.Events(e => e.Error("errorCreatingDoc"))
<script>
jQuery(
function
(){jQuery(
"#createDocWin"
).kendoWindow({
"refresh"
:errorCreatingDoc,
"modal"
:
true
,
"iframe"
:
false
,
"draggable"
:
false
,
"title"
:
"Created Document"
,
"resizable"
:
false
,
"content"
:
null
,
"width"
:300,
"height"
:300,
"actions"
:[
"Close"
]});});
</script>