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

Set no skin?

1 Answer 66 Views
Window
This is a migrated thread and some comments may be shown as answers.
SuperRobot5000
Top achievements
Rank 2
SuperRobot5000 asked on 02 Mar 2009, 02:39 AM
Hi there,

I have the following code to open a new window.  No Skin property is set because I dont want one (just wanted a shaded background with the page to popup as is), but this code always seems to select the details skin anyway!  how do i stop it from selecting a skin?

<

script language="javascript" type="text/javascript"> 
f
unction popupUploadForm() 
{     disableLeaveWarning();
var url=imageUploadForm; 
var oWnd = $find("<%= radwinPopup.ClientID %>"); 
    oWnd.show();
   oWnd.setSize(600,550);
   oWnd.setUrl(url);    
oWnd.Center(); 
oWnd.add_close(OnClientClose);
return false; } 
 
</script>

<radW:RadWindowManager ID="radwinPopupMgr" runat="server" Height="550" Width="600" Modal="true" Behavior="Close"><Windows 
<
radW:RadWindow ID="radwinPopup" ReloadOnShow="true" VisibleStatusBar="false" Behavior="Close" BackColor="gray" Modal="true" runat="server"/></Windows></radW:RadWindowManager>

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Mar 2009, 07:17 AM
Hello SuperRobot5000,

To be able to use RadWindow, you must use a skin - that is why if no skin is selected, RadWindow will use the Default skin. Note that the control requires its skin for its proper functionality. If you don't want a skin, I suggest to use an IFRAME instead (RadWindow is basically an IFRAME).


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
SuperRobot5000
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Share this question
or