5 Answers, 1 is accepted
The RadWindow objects that implement the dialogs get the setting for their Skin property from the RadWindowManager. If you have more than one window then you can use different RadWindowManager with different skin.
I think you misunderstood. I want to specify WebBlue as the skin for all radwindows except the radalert window. For the radalert window I want to use my custom skin. From what you posted I'm guessing the answer is "No". Pretty shortsighted to force that limitation, especially when alert windows in particular should stand out from all other windows. While waiting for a reply I've already written a workaround by using a normal radwindow with my custom skin and a custom alert function.
That being said - the approach that Princy suggested is the best way to achieve this functionality. You can reference the second RadWindowManager (via mngrCustomSkin = $find("secondManagerClientID")) then call its own radalert method: mngrCustomSkin .radalert(), as the radalert is actually a method from the manager, it is only copied to a global function: http://www.telerik.com/help/aspnet-ajax/window-programming-radwindowmanager-methods.html. Please also examine the following article on working with multiple managers as it will also shed some light on the approach: http://www.telerik.com/help/aspnet-ajax/radwindow-troubleshooting-wrong-window-opened.html. Note that the global radalert(), radconfirm() and radprompt() will invoke a dialog from the first manager on the page, and you can use the second instead by, for example, storing a reference to it in the pageLoad event.
If you still find this approach is not viable you can still use your current workaround by using a specific RadWindow for the purpose.
the Telerik team
Due to the functionality I've written into it, I think I'll stick with my custom alert, but the info you gave is nice to know!
You can do the following: add 2 radWindowManager on the page and specify different skins:
ID="RadWindowManager1" runat="server" AutoSize="True" DestroyOnClose="True"
(for your RadAlert only)
ID="RadWindowManager2" runat="server" AutoSize="True" DestroyOnClose="True"
(for the rest of your Rad windows)
Call radAlert from code:
"RadAlert style one", 330, 100, "RadAlert", "")
"RadAlert style 2", 330, 100, "RadAlert", "")