I have code on window :
.Events(events => events.Open("WindowToCenter"))
and javascript:
Problem is that .center() working only first time. When I open window next time window position is total wrong.
Any idea?
.Events(events => events.Open("WindowToCenter"))
and javascript:
function WindowToCenter() { var window = $('#windowEditArticle').data("kendoWindow"); window.center(); }Problem is that .center() working only first time. When I open window next time window position is total wrong.
Any idea?
