RadWindow being effect by FileExplorer bug?

3 posts, 1 answers
  1. Adam Hubble
    Adam Hubble avatar
    74 posts
    Member since:
    Jan 2008

    Posted 03 Apr 2009 Link to this post

    Hi, I have a fileexplorer and details view on a page in edit mode, along with radwindowmanager. The fileexplorer is using Vista skin, the radwindowmanager is set to use the default skin and also have an iconUrl specified.

    When a user causes an update, I am giving confirmation using a radalert like this:


    if e.exception is nothing then

    radajaxmanager1.responsescripts.add(string.format("radalert('update successful');"))

    Now this works fine, and I use the code elsewhere in the application without an issue. However, it appears that FileExplorer is forcing the radalert to use the Vista skin (or whatever skin I apply to fileexplorer) and radalert is ignoring the skin specified in the radwindowmanager on the page. It is also ignoring the iconUrl I am specifying and using the default. This does not happen on any other page in the application (I use radalert quite a lot), so my url is fine.) If I remove fileexplorer, the problem goes away, so fileexplorer must be interfering with radalert/radwindowmanager in some way!

  2. Answer
    Tervel avatar
    1337 posts

    Posted 06 Apr 2009 Link to this post

    Hi Matt,

    Technically speaking, this behavior is by design. The problem obviously comes from having two RadWindowManagers using different skins on the same page. One is your "regular" window manager, and the other is created by the RadFileExporer.

    The radopen, radalert and radprompt methods use the last registered RadWindowManager on the page.

    To prevent this behavior from happening would require changing both the server and client code of RadWindowManager. We logged it for fixing, but for the time being there is no perfect workaround.

    One approach is to set the same skin to both controls.
    The other approach would be to reverse the order of the RadWindowManager and RadFileExplorer on the page - in that manner the explorer popups will start using the Default skins.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Adam Hubble
    Adam Hubble avatar
    74 posts
    Member since:
    Jan 2008

    Posted 06 Apr 2009 Link to this post

    Thanks for the reply. I'm using radwindow manager from the master page, so controling order is difficult. For now I have just started using the same skins - not a major deal. But it would be nice to sort out the icon url, title etc, so the fix would be welcome.

Back to Top