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

[Solved] Error opening window

7 Answers 274 Views
Window
This is a migrated thread and some comments may be shown as answers.
Geoff Van Brunt
Top achievements
Rank 1
Geoff Van Brunt asked on 20 Sep 2007, 07:05 PM
I have an app that worked with the old version (non Prometheus) of RadWindow. Since switching over to the new version everything works but one page. Any time I call radopen, radalert, etc I get:

"this._foregroundElement.parentNode is null or not an object"

Then the window show up as usual.

It only happens on one page of the app, so it's really strange. Anyone else seening this?

7 Answers, 1 is accepted

Sort by
0
Geoff Van Brunt
Top achievements
Rank 1
answered on 20 Sep 2007, 08:45 PM
After slowing removing things from the offending page I've figured out the cause. If you set Modal on the RadWindowManager to make all windows Modal by default, it will throw this error. So it is a bug.

Also, non of the radWindow classes seem to be in the documentation under the ServerSide API.
0
Georgi Tunev
Telerik team
answered on 21 Sep 2007, 02:47 PM
Hello Geoff,

Thank you for bringing these problems to our attention. These problems will be fixed with the first service pack which will appear in the beginning of the next month. The documentation will be fixed then as well - for the time being you can use the documentation for RadWindow for ASP.NET as the "Prometheus" version is compatible with the standard one.

Your points were updated for the report.




Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jose Ronaldo
Top achievements
Rank 1
answered on 30 Oct 2007, 03:53 PM
Hi Georgi,
I download and install last version of Prometheus and this error continue.
0
Jose Ronaldo
Top achievements
Rank 1
answered on 30 Oct 2007, 03:58 PM
Hi All,
more one thing...

I configure my RadWindowManager.Modal for false and set MODAL in JS. Like this:
oManager = GetWndManager(GetMainForm()); 
if (oManager != null
    oWnd = oManager.Open(pageurl, name); 
    if (oWnd != null
    {            
        if (showModal == true
            oWnd.SetModal(true); 
        oWnd.BrowserWindow = this;           
        oWnd.SetSize(wndWidth, wndHeigth); 
        oWnd.Center(); 
    } 


After this, an error change for: this._modalExtender.hide(); is null or not an object
0
Jose Ronaldo
Top achievements
Rank 1
answered on 30 Oct 2007, 05:14 PM
Hi All, after I unistall, delete folder and reinstall Prometheus, the error stop.
But, I configure my RadAjaxManager.Modal = true and my windows don't stay modal anymore.
0
Jose Ronaldo
Top achievements
Rank 1
answered on 30 Oct 2007, 05:28 PM
RadWindowManager.Modal only work for me if I set Animation.
0
Georgi Tunev
Telerik team
answered on 01 Nov 2007, 03:45 PM
Hi Jose,

Please open a support ticket and send us a small sample project which recreates your exact setup and reproduces the problem. We will check it and get back to you right away.




Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Geoff Van Brunt
Top achievements
Rank 1
Answers by
Geoff Van Brunt
Top achievements
Rank 1
Georgi Tunev
Telerik team
Jose Ronaldo
Top achievements
Rank 1
Share this question
or