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

Use more than one Window

1 Answer 165 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 19 Jul 2012, 12:36 AM

Requirements

Kendo UI v2011.3.1407


1.7


IE, FF, Chrome


Window



PROJECT DESCRIPTION 
I want to use the Keno UI Window widget in our training web pages.  It would require there be multiple pop-ups using the Window function throughout each course page (sometimes 20-30 images).  Do you have any guidance or examples on using the Window widget in this fashion?

1 Answer, 1 is accepted

Sort by
0
Ravi
Top achievements
Rank 1
answered on 19 Jul 2012, 07:06 AM
You can open multiple windows dynamically in the following way :
$("<div id = "SomeDynamicValue"/>").appendTo($("#Document.body")).kendoWindow({
resizable: true, width: "400px",
height: "280px", title: "Title",
scrollable: false,
content: "Content URL",
modal: false,
actions: ["Minimize", "Close"],
close: function (e) { 
this.destroy();
}
});
Tags
Window
Asked by
Dan
Top achievements
Rank 1
Answers by
Ravi
Top achievements
Rank 1
Share this question
or