I have a kendo window and button in my asp.net mvc 3 application view.
on click of a button I am opening the above declared window using below javascript code.
hen in the window i enter value in the textbox. the opened window has Ok button, on click of that button, we use java-script code.
Now again clicking on parent button I open the window and expect that the text box in window will have no values. but it retains those values. Is there a function like refresh which will clear the previous contents.
Thanks,
Santosh
@(Html.Kendo().Window() .Name("TestWindow") .Width(420) .Height(70) .Draggable() .Modal(true) .HtmlAttributes(new { @class = "TestWindow" }) .Resizable() .Title("Window1 ") .Content(@<text>@Html.Partial("_PartialWindow", Model.Prop1) </text>) )on click of a button I am opening the above declared window using below javascript code.
var windowobj = window.data("kendoWindow"); windowobj.open(); windowobj.center();windowobj.close();Now again clicking on parent button I open the window and expect that the text box in window will have no values. but it retains those values. Is there a function like refresh which will clear the previous contents.
Thanks,
Santosh
