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

RadWindow being effect by FileExplorer bug?

2 Answers 79 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Adam Hubble
Top achievements
Rank 1
Adam Hubble asked on 03 Apr 2009, 01:47 PM
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:

(simplied)

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!

Thanks,
Matt

2 Answers, 1 is accepted

Sort by
0
Accepted
Tervel
Telerik team
answered on 06 Apr 2009, 11:03 AM
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,
Tervel
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Adam Hubble
Top achievements
Rank 1
answered on 06 Apr 2009, 11:08 AM
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.

Thanks 
Tags
FileExplorer
Asked by
Adam Hubble
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Adam Hubble
Top achievements
Rank 1
Share this question
or