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

close window

1 Answer 127 Views
Window
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Javier asked on 23 Apr 2012, 06:29 PM
Hello how can i close the window after click some button into the current window????

thanks, 

1 Answer, 1 is accepted

Sort by
0
Umais
Top achievements
Rank 1
answered on 30 Apr 2012, 10:00 AM
on button's "onclick" function, write the following lines:

var win = $("#DetailsWindow").data("kendoWindow");
win.close();

Note: "win" is the instance of the window, "DetailsWindow" is the ID of the window (div).
Tags
Window
Asked by
Javier
Top achievements
Rank 1
Answers by
Umais
Top achievements
Rank 1
Share this question
or