More in this section
Forums / Developing with Sitefinity / RadWindowManager and skins

RadWindowManager and skins

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Kevin Pipher
    Kevin Pipher avatar
    91 posts
    30 Nov 2005
    01 Mar 2008
    Link to this post

    In my template/masterpage design, I'm using a common RadWindow control so that certain controls throughout the site can pop up messages and urls as needed.

    I noticed today that when I set the skin on the RadWindowManager control, it affects the window skin inside the sitefinity admin area when editing pages. For example, I have set the skin to Vista. Now all of the property editor windows in sitefinity (such as when editing a generic control, etc.) are also Vista skinned.  I tried adding the skin property of only the window and not the windowmanager, but then the built in default skin was shown for both my window and the sitefinity windows.

    Is this by design with the RadWindowManager object? Or could it be a bug? I'm new to the RadWindow controls so I'm not sure of how  to get around this. I want to be able to specify a skin and use the radwindow/windowmanager objects without affecting the sitefinity GUI.

    Here's the snippet of code from my master page:

    <sf:RadWindowManager ID="PopupWindowManager" runat="server" VisibleOnPageLoad="false" 
         Behavior="Close,Maximize,Move,Resize" Skin="Vista" VisibleStatusbar="true" 
         VisibleTitlebar="true" Modal="true"
              <sf:RadWindow ID="PopupWindow" runat="server"  
                   Width="700" Height="400" /> 

    Any suggestions would be greatly appreciated!

  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    04 Mar 2008
    Link to this post
    Hello Kevin,

    As a workaround you could set Visible="false" for the RadWindowManager object and make it visible when the public page is loaded. Here is a simple example:

    <sf:RadWindowManager ID="PopupWindowManager"  
                                  <sf:RadWindow ID="PopupWindow" runat="server" OnClientClose="PopupWindow_ClientClose" Width="700" Height="400" />  
    <asp:LinkButton ID="LinkButton1" runat="server" Text="Open Window" OnClick="LinkButton1_Click"></asp:LinkButton> 

    protected void LinkButton1_Click(object sender, EventArgs e) 
            this.PopupWindowManager.Visible = true
            this.PopupWindowManager.VisibleOnPageLoad = true

    i.e. the window will be visible when the user clicks the "Open Window" button on the public page.

    This should fix the problem with the appearance of the RadWindow in Sitefinity edit page mode.

    Let us know how it goes.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered