However, when this window is activated using this code, it fails on the call to center(), because batchWindow doesn't contain a reference.
var batchWindow = $('#newBatchWindow').data('kendoWindow');
If I modify the content field to be a full URL, things work as expected. How can I use a relative URL here?
1 Answer, 1 is accepted
answered on 23 Aug 2012, 06:05 AM
The object will not be available if you are loading jQuery from the server with the window content. The problem will not occur when using a full URL because the Window will create an iframe. To use a relative URL you should either use the iframe option of the window or remove jQuery from the content you are loading.
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!