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

window go behind after partial postback

2 Answers 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
mathieu
Top achievements
Rank 1
mathieu asked on 20 Sep 2014, 02:06 AM
Hi, 

i've got 2 modal window.
I need that the second window stay on top always.

But first the modal feature is not correct since the first still clickable/accessible after the second opened. And worst I have a radAjaxPanel inside the second window and when it partial postback everything is fine except that the window go below the first one...
I tried to call the function show or/and setactive on the respondEnd event of the radAjaxPanel but that's just make the window blink...
the window go below and on top and finally below....

I said the second window go behind the first one, but in fact it's the first that go on top of the second. Because i see the z-index increment...
The things that i don't understand is why the first window keep going on top like that ?? Actually i would this behaviors for the second window only :-( 

Sorry english is not my first language, I hope it's understandable

Thanks

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 Sep 2014, 02:47 PM

Hi,

Based on this information, my best advise is to make sure you open the second dialog with a timeout from the main page as shown in this article: http://www.telerik.com/help/aspnet-ajax/window-programming-opening-from-within-dialog.html.

RadWindows automatically increment their z-index when they become active.This can happen when a click occurs on their UI or content, or when the developer calls their setActive(), show(), moveTo(), center(), maximize() and other similar methods that modify them, so you should make sure this is not the case.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
mathieu
Top achievements
Rank 1
answered on 30 Sep 2014, 04:35 PM
actually it was because the window was show in the document.ready function and was so called in every post back

thanks 
Tags
Window
Asked by
mathieu
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
mathieu
Top achievements
Rank 1
Share this question
or