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

Multiple window z-index behavior: Trouble in paradise

6 Answers 185 Views
Window
This is a migrated thread and some comments may be shown as answers.
Cary Abramoff
Top achievements
Rank 1
Cary Abramoff asked on 15 Nov 2011, 12:11 AM
Hi,

I have a need to have multiple windows interact.

The problem is, unlike your RadWindows for Ajax which will always be on top after receiving a mouse click, not so with the Kendo UI windows.

I will explain.

I open window A.

Window A launches window B.

Window B is UNDER window A.

I have written JQuery to search for the divs with the k-window classes, find the title span, and set the z-index behaviors I want but this is not as elegant as the behavior of your own RadWindows in the Telerik Ajax suite which I use on my other big ASP.NET project.

I believe your windows need to do 2 things for official v1 release.

A- Minimize

B- Whenever a window receives focus it should have the highest z-index. 

Thanks!!

Cary














6 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 17 Nov 2011, 01:09 PM
Hello Cary,

You can submit any kendo-related feature requests on uservoice.

Best wishes,
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
Vesselin Obreshkov
Top achievements
Rank 2
answered on 20 Nov 2011, 05:33 PM
It's not really a feature request. Both RadWindow and Telerik MVC Window (telerik.window.js) behave properly. Kendo.window.js is missing the same checks and adjustments telerik.window.js (and I assume RadWindow - haven't looked at its source) that adjust the zIndex of the active window (telerik.window.js has a bringToTop() function that gets called at different events to bring the window to top). Currently if you open more than one window, only the last one stays on top covering all other windows (RadWindow and Telerik MVC window will bring the window to top when clicked on, dragged, etc - basically when it gets focus).

I started migrating an app from Telerik MVC Extensions to Kendo and the app relies heavily on using multiple windows and I hit this show stopper bug that makes Kendo currently unusable for me out of the box as I use windows a lot and often we need to be able to open multiple windows. Hope this gets fixes. Look at this Uservoice post and our comments for more info:

http://kendo.uservoice.com/forums/127393-kendo-ui-beta-feedback/suggestions/2396243-multiple-kendo-windows 
0
Alex Gyoshev
Telerik team
answered on 21 Nov 2011, 02:27 PM

The desired feature is to have a proper behavior when multiple windows are opened -- something that was not claimed anywhere in the kendo demos. The fact that other suites have this feature does not make it a bug.

We understand the importance of it, and it will be available with the official release. The attached kendo.window.js contains the functionality. Let me know how it works in your scenario.

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
Vesselin Obreshkov
Top achievements
Rank 2
answered on 21 Nov 2011, 04:45 PM
Sorry, my bad. It was my understanding that Kendo was based on and will be the successor of the Telerik MVC Extensions hence I assumed that if something was in the MVC toolkit, it would be in Kendo too so I thought it was a bug (or something you guys missed after comparing the .js files).

I will download and let you know how it works later today (probably tomorrow over there). Will need to re-write some stuff to get it all working again without all my hacks and stuff. Thanks for the super-fast response!
0
Treg
Top achievements
Rank 1
answered on 21 Nov 2011, 05:34 PM
Alex, 
Thank you! Thank you! Thank you!

Would it be possible to get a non-minified version of window.js?

Thanks in advance,
Treg


PS:  Will the concept of "containment" also be in the v1 rollout?
0
Cary Abramoff
Top achievements
Rank 1
answered on 22 Nov 2011, 08:18 AM
awesome response time.
using the CDN I will await the official release. :))
Tags
Window
Asked by
Cary Abramoff
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Vesselin Obreshkov
Top achievements
Rank 2
Treg
Top achievements
Rank 1
Cary Abramoff
Top achievements
Rank 1
Share this question
or