Hello, I'm getting very strange behavior on my action buttons on a Kendo Window. I'm currently on UI for ASP.NET MVC 2015.2.805, should I upgrade? ( i see UI for ASP.NET MVC Q1 2016 SP1 has Minimize / maximize events listed, any benefit?)
My setup is, a main view which loads a window, which contents are a kendo scheduler. Here is the razor declaration for the window.
@(Html.Kendo().Window()
.Name("shedulerWindow")
.Title("Scheduler Window")
.Content(@<text>@Html.Action("_EvaultBackupSchedulerPopOut", "Dashboard")</text>)
.Draggable()
.Resizable()
.Width(1285)
.Height(545)
.Position(settings => settings
.Top(178)
.Left(495)
)
.Actions(actions => actions
.Minimize()
.Custom("Maximize")
.Custom("close")
)
.Events(ev => ev
.Close("onClose")
)
)
You'll notice i've started over-writing all of the real close and maximize actions with custom ones, simply because they don't work correctly out of the box; ie.Close never consistently fired my onClose method (50% or less). Maximize and restore were not working correctly and still not.
Now what's happening, when I maximize, I get two restore buttons show up which do not actually work correctly either.
Look at my 'restore code' image of how the HTML renders out.
Look at the restore icons to see what shows up.