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

FileExplorer interferes with radopen and other radwindows

2 Answers 40 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
AndreaT
Top achievements
Rank 1
AndreaT asked on 25 Aug 2010, 05:14 PM
Hi,

I have FileExplorer with upload enabled on a page with RadWindowManager and some  radWindows defined. RadWindows are opened via client script and radopen:

var oWnd = radopen(url, "WndSelCat");
//etc etc

Whatever I name the windows in the radopen call  it is always used the upload windows of the fileexplorer.

If I set the fileexplorer to Visible="false" the correct behaviour is restored.

think this is little annoying glitch.

Andrea

2 Answers, 1 is accepted

Sort by
0
AndreaT
Top achievements
Rank 1
answered on 26 Aug 2010, 09:49 AM
Hi,

I have investigated the issue further.  RadFileExplorer and RadWindowManager seems to be incompatible: whatever the radwindow is opened  it is always opened as the update dialog of FileExplorer.

If I get rid of RadWindowManager and I open the radwindow using

var oWnd = $find("WndSelCat");
oWnd.show();

0
Dobromir
Telerik team
answered on 27 Aug 2010, 02:31 PM
Hi Andrea,

Fiko already answered your support ticket on the subject. For convenience I will paste his answer here as well:
"This an expected behavior. When two or more RadWindowManager control are rendered (RadFileExplorer contains a RadWindowManager as well) on the page, then the first one is used by the global methods like radopen, GetRadWindowManager, radalert, etc. If you ne the global methods to use a specific RadWindowManager, then I recommend you to override the GetRadWindowManager method (it is used by the rest of the global methods) to returns the desired manager:
function GetRadWindowManager()
{
    var desiredWindowManager = $find("<%= RadWindowmanager1.ClientID %>");
    return desiredWindowManager;
}

Alternatively, you can find the desired windowmanager by using the $find method and call its
open(url, windowID) method in order to open the desired window.

I hope this helps."

Kind regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
FileExplorer
Asked by
AndreaT
Top achievements
Rank 1
Answers by
AndreaT
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or