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

[Solved] I dont get it ... Help ..

1 Answer 84 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 27 May 2008, 09:57 AM

I'm opening from a Default.aspx a modal RadWindow1  this windows contains some Controls (textbox, dropdownlist, etc) also contains this modal RadWindow1 a Button that opens another modal RadWindow2. This all works fine and it opens nicely above the first opened modal RadWindow1.

The problem i have now is that the modal RadWindow2 is not 100% modal ... when i click on a Random Control (eg textbox, etc) in the modal RadWindow1 the modal RadWindow2 gets behind the modal RadWindow2 WTF ?

The strangest thing of all is that i try'ed to reproduce the problem in a sample file but this all works fine ... Could somebody plz look at my sample file and maybe he/she sees the problem what i have in my real project. If you need any additional information just ask them and ill provide them.

Download sample project file where it works fine here

Here some extra information added

the Default.aspx inherits a MasterPage file that has the Control: RadWindowManager this looks like this:

<telerik:RadWindowManager ID="windowManager" Skin="Vista"  VisibleStatusbar="False" Modal="True" DestroyOnClose="True" runat="server"  Behaviors="Close"></telerik:RadWindowManager>

The way i always open my modal RadWindows:

var radWindow = parent.window.raopen(url, name);
setTimeout(function() { radWindow.setActive(true); }, 0);

If you need anything else to help me out just yell and ill provide it to you ...


1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 28 May 2008, 03:17 PM
Hello Nick,

I suggest to try opening the second RadWindow with a little timeout as shown in the attached archive file.
Please, also note that the timeout you set depends on the particular page which you load in the RadWindow and its loading time. This being said, time interval set to 0 can work for some page which loads fast and it can not work for another one, which takes more time to load.

Let me know whether this fixes the problem.

Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Nick
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or