I have some issues with Kendo Window after clicking a button that has a JS function
CSS Class
.addUserWindow {
padding-top: 29px;
min-width: 90px;
min-height: 50px;
width: 440px;
display: block;
top: 383px;
left: 740px;
z-index: 10005;
opacity: 1;
transform: scale(1);
}
My Kendo Window
@(Html.Kendo()
.Window()
.Name("myWindow")
.Title("Add")
.Visible(false)
.Modal(true)
.Draggable(true)
.Width(440)
.Height(600).HtmlAttributes(new {@class= "addUserWindow adminOnlyClass" })
)
And my JS function
function openWindow() {
var wdw = $("#myWindow").data("kendoWindow");
wdw.open();
}
And my command
columns.Command(commands =>
{
commands.Custom(" ").Click("openWindow").HtmlAttributes(new { @class = "addUser" }).HtmlAttributes(new { Title = "Adauga User la Grup " });
}).Title("").Width(50);
Indeed the second one is empty, it doesn't have any header. Does someone knows how to get rid of the 2nd pop-up?