This is a migrated thread and some comments may be shown as answers.

window displays previous contents

1 Answer 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
Santosh
Top achievements
Rank 1
Santosh asked on 30 May 2013, 06:06 AM
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.
var windowobj = window.data("kendoWindow");
           windowobj.open();
           windowobj.center();
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.
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.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 May 2013, 11:51 AM
Hi Santosh,

I have replied here:

http://www.kendoui.com/forums/ui/window/contents-of-previous-windows-are-displayed-on-opening-window-for-second-time.aspx

Please avoid posting duplicate forum threads.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Santosh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or