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

Method toFront () alone?

4 Answers 156 Views
Window
This is a migrated thread and some comments may be shown as answers.
Arni
Top achievements
Rank 1
Arni asked on 01 Dec 2011, 10:22 PM
If you open multiple windows. It is clear that the z-index goes from step 1. If I want to rearrange the window as fronted, I use toFront (). A window focus event get there?

If my English is very poorly understood, may help to code:).

el.kendoWindow({
                click: function(){
                  alert('go'); // Please do something like this ...
                },
                width: "500px",
                height: "300px",
                dragend: function(){
                  this.toFront(); // So bad, right?
                },
                actions: ["Refresh", "Minimize", "Maximize", "Close"],
                title: "Modal Window",
       }).data("kendoWindow").center().open();

4 Answers, 1 is accepted

Sort by
0
Arni
Top achievements
Rank 1
answered on 02 Dec 2011, 12:58 PM
Why my questions do not respond? Forum only for VIP customers? :)
0
Arni
Top achievements
Rank 1
answered on 02 Dec 2011, 10:53 PM
ok ... If I can not wait for the answer to this question ... Tell me please, will you go out the window front, in the new versions, when you click on his head?

0
Alex Gyoshev
Telerik team
answered on 05 Dec 2011, 03:33 PM
Hello Taras,

Thank you for reporting this issue -- we have addressed it for all new Kendo UI builds. You can patch it in your code if you apply the following changes to the window constructor:

remove:
.bind("mousedown", proxy(that.toFront, that))

add (below the options.draggable if-block):
wrapper.add(wrapper.find(".k-resize-handle,.k-window-titlebar"))
    .bind("mousedown", proxy(that.toFront, that))


Regarding your other question: as described in the licensing FAQ, support responses are not guaranteed unless you are evaluating or have purchased Kendo UI.

Greetings,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Arni
Top achievements
Rank 1
answered on 05 Dec 2011, 06:23 PM
Thank you very much Alex. In this case, I will ask only interesting questions. :)
Tags
Window
Asked by
Arni
Top achievements
Rank 1
Answers by
Arni
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or