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

Modal window above normal window

5 Answers 142 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jadranko Dragoje
Top achievements
Rank 1
Jadranko Dragoje asked on 30 Dec 2011, 09:51 AM
When I call modal window above normal window I am still able to activate normal window.
How can we prevent that?

5 Answers, 1 is accepted

Sort by
0
Jadranko Dragoje
Top achievements
Rank 1
answered on 03 Jan 2012, 12:17 PM
Is there a solution for this problem?
Also, when I put Grid into Window, filter panels are not visible (z-index).
This is a bug.
0
Alex Gyoshev
Telerik team
answered on 03 Jan 2012, 04:21 PM
Hello Jadranko,

Both problems are bugs. We had the one with the grid filters already fixed, and we just fixed the overlay problem. Please use the attached script.

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
Jadranko Dragoje
Top achievements
Rank 1
answered on 04 Jan 2012, 09:56 AM
First problem is not solved.
When I open second window I am still able to select first window.
This is a workaround that I used:

prozorPorukaSadrzaj = $("#prozorPoruka");
prozorPrijavaSadrzaj = $("#prozorPrijava");

prozorPoruka = prozorPorukaSadrzaj.kendoWindow({
    width: 300,
    title: "GreÅ¡ka",
    resizable: false,
    draggable: false,
    modal: true,
    visible: false,
    open: function () {
        prozorPrijavaSadrzaj.parents(".k-window").css("z-index", "10000");
    }
}).data("kendoWindow");
 
prozorPrijava = prozorPrijavaSadrzaj.kendoWindow({
    title: "Prijava korisnika",
    actions: {},
    resizable: false,
    draggable: false,
    visible: false
}).data("kendoWindow");
 
prozorPrijava.center();
prozorPrijava.open();
0
Alex Gyoshev
Telerik team
answered on 06 Jan 2012, 02:25 PM
Indeed, the first problem was solved during initialization of visible windows. We resolved this in the attached script.

Hope this helps,
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
Kakaiba
Top achievements
Rank 1
answered on 19 Jun 2012, 07:28 AM
Manic: "...Also, when I put Grid into Window, filter panels are not visible (z-index)."
Alex: "...We had the one with the grid filters already fixed, and we just fixed the overlay problem."


This is not fixed! kendoGrid filter panels are still behind the kendoWindow. I am using the latest version: Kendo UI Complete v2012.1.515.

-----

My bad! It seemed that the attached script is more updated than the actual latest version posted in the site considering the previous post is from January 2012.
Tags
Window
Asked by
Jadranko Dragoje
Top achievements
Rank 1
Answers by
Jadranko Dragoje
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Kakaiba
Top achievements
Rank 1
Share this question
or