or
vm = kendo.observable({ SysInfo = { status: "starting", xhr2: "false", browser: "", databases: "", center: "", date: "", zoom: 0 }
@using (Ajax.BeginForm("Login", "Account", new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "loginSection", })) { @Html.Partial("_LoginInfoPartial", Model) <input} type="submit" value="Log in" /> <button type="button" id="close_button" onclick="cancelLogin()" >Cancel</button> <script> function cancelLogin() { var window = $("#loginWindow").data("kendoWindow"); window.close(); } </script> }