or
@{ ViewBag.Title = "Index";}<h2> <button id="button" class="k-button">openWindow</button></h2>@Html.Kendo().Window().Name("winTest").LoadContentFrom("Index", "TestWindow").Modal(true).Visible(false).Title("Prova");<script> $(function () { $("#button").click(function () { $("#winTest").data("kendoWindow").open(); } ); });</script>@{ ViewBag.Title = "Index"; Layout =""; }@using (Html.BeginForm("Inserisci")){ <h1>Some text</h1> <input type="submit" value="Click me" class="k-button" />}public class TestWindowController : Controller { // // GET: /TestWindow/ public ActionResult Index() { return View(); } public EmptyResult Inserisci() { return null; //return EmptyResult } }