More in this section

Forums / General Discussions / RadWindowManager in Master page

RadWindowManager in Master page

3 posts, 0 answered
  1. Jeff
    Jeff avatar
    6 posts
    Registered:
    01 Jun 2010
    07 Apr 2011
    Link to this post
    I have a RadWindowManager in my master page with a customized ConfirmTemplate.  However, it seems that Sitefinity is adding a second RadWindowManager to the page (at the very end of the markup found on the master) and registering it in the JavaScript instead.  As a result, calling radconfirm results in the original markup rather than the template's markup.

    The RadWindowManager was registering in the JavaScript properly in 3.7 SP3.  Here's what it did:

    Sys.Application.add_init(function() {
        $create(Telerik.Web.UI.RadWindowManager, {"clientStateFieldID":"ctl00_radWindowManager_ClientState","formID":"aspnetForm","iconUrl":"","minimizeIconUrl":"","name":"radWindowManager","skin":"Default","visibleStatusbar":false,"windowControls":"['ctl00_LoadingWindow']"}, null, {"child":"ctl00_LoadingWindow"}, $get("ctl00_radWindowManager"));
    });

    And what it does now:

    Sys.Application.add_init(function() {
        $create(Telerik.Web.UI.RadWindowManager, {"behaviors":0,"clientStateFieldID":"ctl00_ctl06_ctl00_windowManager_ClientState","formID":"form1","iconUrl":"","minimizeIconUrl":"","name":"windowManager","showContentDuringLoad":false,"skin":"Sitefinity","visibleStatusbar":false,"windowControls":"[]"}, null, null, $get("ctl00_ctl06_ctl00_windowManager"));
    });
  2. Jeff
    Jeff avatar
    6 posts
    Registered:
    01 Jun 2010
    08 Apr 2011
    Link to this post
    My current workaround is to remove the undesired manager from the page's control tree during OnLoad.  I don't like the solution but it solves the problem.  Does anyone have a better recommendation?  Is there a Sitefinity setting that I'm missing?
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    13 Apr 2011
    Link to this post
    Hello Jeff,

    Thank you for using our services.

    The extra window manager which you see on your pages is coming from the Browse and Edit feature. If you disable this feature, log out, or use a user which does not have permissions for Browse and Edit the second manager will not be rendered. I would suggest instead of removing any managers on load to use the suggestion from this forum post.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

3 posts, 0 answered