FileExplorer interferes with radopen and other radwindows

3 posts, 0 answers
  1. AndreaT
    AndreaT avatar
    27 posts
    Member since:
    Sep 2007

    Posted 25 Aug 2010 Link to this post

    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. AndreaT
    AndreaT avatar
    27 posts
    Member since:
    Sep 2007

    Posted 26 Aug 2010 Link to this post

    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();

  3. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 27 Aug 2010 Link to this post

    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
Back to Top