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

Bug: Window appendTo option doesn't work when set via data-append-to (mvvm)

1 Answer 127 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 02 Dec 2013, 07:19 PM
<div data-role="window" data-append-to="#my-form" data-modal="true" data-visible="false" data-width="100%"></div>
The above code will not append the window to the my-form element. This can be fixed in the source by setting a default value for the appendTo option of the window, or in the user's own code using the below line (be sure to set this before binding your model):
kendo.ui.Window.fn.options.appendTo = null;
This was tested in v2013.3.1119

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 04 Dec 2013, 12:31 PM
Hi Dennis,

Thank you very much for bringing this to our attention.

It is already fixed in the Kendo UI Window code, and the fix will be available with the next internal build.

Regards,
Kiril Nikolov
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
Dennis
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or