I am running: kendo.web.min.js v2012.3.1121
HTML: (This is the test Text Area and is not in the window div.)
<div style="padding-top: 5px;">
<asp:Label ID="Label4" class="filterCheckboxHeader" runat="server" Text="Email Body Test:"></asp:Label>
<div>
<textarea id="Textarea1" rows="10" cols="30" style="width:500px;height:300px">
</textarea>
</div>
</div>
Window Open:
function labelEmail(trackingNumber) {
var kendoWindow = $("#emailWindow").data("kendoWindow");
kendoWindow.open();
kendoWindow.center();
kendoWindow.toFront();
// This is the real one, in the window div
$("#txtLabelEmail_Body").kendoEditor({
width: "300px",
height: "150px"
});
// This is the extra test one, not in the window div, they both behave the same.
$("#Textarea1").kendoEditor({
width: "300px",
height: "150px"
});
};
Window Close:
function labelEmail_Cancel() {
var kendoEditor = $("#txtLabelEmail_Body").data("kendoEditor");
kendoEditor.destroy();
var Textarea1 = $("#Textarea1").data("kendoEditor");
Textarea1.destroy();
var kendoWindow = $("#emailWindow").data("kendoWindow");
kendoWindow.close();
}
Thanks for the help.
Randy Miller