RadScriptManager and SharePoint 2010 compatibility

10 posts, 0 answers
  1. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 25 Oct 2012 Link to this post

    Hello,

    I have replaced the Microsoft ScriptManager with the RadScriptManager in my SharePoint site's master page.  That part seems to work just fine.  However, when I try to use some of the advanced features of RadScriptManager like EnableScriptCombine and TelerikCdn, they do not seem to function. It's as if these setting are getting ignored entirely, so I was wondering if they are even designed to work in SharePoint 2010?  Or perhaps there's some additional configuration steps needed to make them work?

    I have successfully used these settings in a stand-alone web site (not hosted in SharePoint) without problem, even on the same machine.  Any help you can offer would be appreciated.  We are desperately trying to use these features to reduce latency in a client's production site.

    Thank you,

    Chris

    P.S. I am currently using Telerik AJAX controls version 2011.1.413.35
  2. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 31 Oct 2012 Link to this post

    Hi Chris,

    Can you explain in more details what your scenario is?
    We will research whether it is possible.

    Regards,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

  3. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 31 Oct 2012 Link to this post

    Hi Kalina,

    Here are the steps to reproduce the issue within SharePoint 2010:

    1.  Create a brand new SharePoint web application.

    2.  Create a new site collection within that web application using the "Publishing Portal" template.

    3.  After the new site collection is created, navigate to the root site within the new site collection.

    4.  Sign-in as an administrator and navigate to "Site Actions -> Site Settings -> Master pages and page layouts".

    5.  Download a copy of the default master page "nightandday.master" and modify it to reference RadScriptManager instead of ScriptManager,  Also set the EnableScriptCombine property to "true".

    6.  Add a couple Telerik controls to the master page (e.g. RadComboBox, RadCalendar, etc.)

    7.  Upload the modified master page into the same master page gallery that you downloaded "nightandday.master" from. Don't forget to "Publish" and "Accept" the newly uploaded master page.

    8.  Navigate to "Site Actions -> Site Settings -> Master page" and change the Site Master Page from "nightandday.master" to the newly modified master page.

    9.  Update your web application's web.config to include the "Telerik.Web.UI.WebResource.axd" handler.

    10.  Load your site's home page in any browser and inspect the requests.  Note that the scripts for the Telerik controls are not getting combined.  Similarly, activating the CDN feature on the RadScriptManager in the master page also doesn't result in the scripts getting loaded from the Telerik CDN.  These features work fine outside of SharePoint.

    For reference, here's the entire custom master page that I used for testing:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <%@ Master language="C#" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
    <%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
    <%@ Register TagPrefix="wssuc" TagName="MUISelector" src="~/_controltemplates/MUISelector.ascx" %>
    <%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Assembly Name="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="MSSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>
    <html xmlns="http://www.w3.org/1999/xhtml" lang="<%$Resources:wss,language_value %>" dir="<%$Resources:wss,multipages_direction_dir_value %>" runat="server">
    <head runat="server">
        <meta http-equiv="X-UA-Compatible" content="IE=8"/>
        <meta name="GENERATOR" content="Microsoft SharePoint"/>
        <meta name="progid" content="SharePoint.WebPartPage.Document"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="Expires" content="0"/>
        <SharePoint:RobotsMetaTag runat="server"/>
        <title id="onetidTitle"><asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/></title>
        <SharePoint:CssLink runat="server" Version="4"/>
        <SharePoint:ULSClientConfig runat="server"/>
        <script type="text/javascript">
        var _fV4UI = true;
        </script>
        <SharePoint:ScriptLink name="init.js" runat="server"/>
        <SharePoint:CustomJSUrl runat="server" />
        <SharePoint:SoapDiscoveryLink runat="server" />
        <asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server"/>
        <SharePoint:DelegateControl runat="server" ControlId="AdditionalPageHead" AllowMultipleControls="true"/>
        <SharePoint:SPShortcutIcon runat="server" IconUrl="/_layouts/images/favicon.ico" />
        <SharePoint:SPPageManager runat="server" />
        <SharePoint:SPHelpPageComponent Visible="false" runat="server" />
        <SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/controls.css %>" runat="server"/>
        <SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/nightandday.css %>" After="corev4.css" runat="server"/>
    </head>
    <body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="nightandday">
        <form runat="server" onsubmit="if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}">
     
        <!-- Telerik Script Manager Here -->
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" EnableScriptCombine="true">
        </telerik:RadScriptManager>
     
        <telerik:RadComboBox ID="RadComboBox1" runat="server">
            <Items>
                <telerik:RadComboBoxItem Text="Item1" Value="Item1" />
                <telerik:RadComboBoxItem Text="Item2" Value="Item2" />
            </Items>
        </telerik:RadComboBox>
        <telerik:RadCalendar ID="RadCalendar1" runat="server">
        </telerik:RadCalendar>
     
        <WebPartPages:SPWebPartManager runat="server"/>
        <span id="TurnOnAccessibility" style="display:none" class="s4-notdlg">
            <a id="linkTurnOnAcc" href="#" class="ms-TurnOnAcc" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
        </span>
        <span id="TurnOffAccessibility" style="display:none" class="s4-notdlg">
            <a id="linkTurnOffAcc" href="#" class="ms-TurnOffAcc" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
        </span>
        <span class="s4-notdlg s4-skipribbonshortcut">
            <a href="javascript:;" onclick="javascript:this.href='#startNavigation';" class="ms-SkiptoNavigation" accesskey="<%$Resources:wss,skipribbon_accesskey%>" runat="server"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,skipRibbonCommandsLink%>" EncodeMethod="HtmlEncode"/></a>
        </span>
        <span class="s4-notdlg">
            <a href="javascript:;" onclick="javascript:this.href='#mainContent';" class="ms-SkiptoMainContent" accesskey="<%$Resources:wss,maincontent_accesskey%>" runat="server"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></a>
        </span>
        <a id="HiddenAnchor" href="javascript:;" style="display:none;"></a>
        <div class="ribbonbackground">
            <div class="s4-notdlg top-row">
                <div class="site-image-title">
                    <h2>
                        <SharePoint:SPLinkButton id="onetidProjectPropertyTitleGraphic" runat="server" NavigateUrl="~site/">
                            <SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="<% $SPUrl:~sitecollection/Style Library/Images/nd_logo.png %>" runat="server"/>
                        </SharePoint:SPLinkButton>
                    </h2>
                </div>
                <div class="s4-trc-container s4-notdlg top-row-elements">
                    <SharePoint:DelegateControl runat="server" ControlId="GlobalSiteLink0" />
                    <a href="#" tabindex="-1" style="display:none"></a><a href="#" tabindex="-1" style="display:none"></a>
                    <SharePoint:DelegateControl ControlId="GlobalSiteLink3-mini" Scope="Farm" runat="server" />
                    <span class="s4-help">
                            <span style="height:17px;width:17px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust"><a href="javascript:TopHelpButtonClick('HelpHome')" style="height:17px;width:17px;display:inline-block;" accesskey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server"><img src="/_layouts/images/fgimg.png" alt="<%$Resources:wss,multipages_helplinkalt_text%>" style="left:-0px !important;top:-309px !important;position:absolute;" align="absmiddle" border="0" runat="server" /></a></span>
                    </span>
                    <div class="s4-trc-container-menu">
                        <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false">
                        </wssuc:Welcome>
                        <wssuc:MUISelector runat="server"/>
                    </div>
                    <SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server" />
                    <span>
                        <span style="top:12px;display:inline-block;position:relative;">
                            <Sharepoint:DeveloperDashboardLauncher
                                ID="DeveloperDashboardLauncher"
                                NavigateUrl="javascript:ToggleDeveloperDashboard()"
                                runat="server"
                                ImageUrl="/_layouts/images/fgimg.png"
                                Text="<%$Resources:wss,multipages_launchdevdashalt_text%>"
                                OffsetX=0
                                OffsetY=222
                                Height=16
                                Width=16 />
                        </span>
                    </span>
                </div>
            </div>
            <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
                <SharePoint:SPRibbon runat="server"
                    PlaceholderElementId="RibbonContainer"
                    CssFile="">
                    <SharePoint:SPRibbonPeripheralContent
                        runat="server"
                        Location="TabRowLeft"
                        CssClass="ms-siteactionscontainer s4-notdlg">
                           <span class="ms-siteactionsmenu" id="siteactiontd">
                           <SharePoint:SiteActions runat="server" accesskey="<%$Resources:wss,tb_SiteActions_AK%>" id="SiteActionsMenuMain"
                            PrefixHtml=""
                            SuffixHtml=""
                            MenuNotVisibleHtml="&nbsp;"
                            >
                            <CustomTemplate>
                            <SharePoint:FeatureMenuTemplate runat="server"
                                FeatureScope="Site"
                                Location="Microsoft.SharePoint.StandardMenu"
                                GroupId="SiteActions"
                                UseShortId="true"
                                >
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
                                    Text="<%$Resources:wss,siteactions_editpage%>"
                                    Description="<%$Resources:wss,siteactions_editpagedescriptionv4%>"
                                    ImageUrl="/_layouts/images/ActionsEditPage.png"
                                    MenuGroupId="100"
                                    Sequence="110"
                                    ClientOnClickNavigateUrl="javascript:ChangeLayoutMode(false);"
                                    />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_TakeOffline"
                                    Text="<%$Resources:wss,siteactions_takeoffline%>"
                                    Description="<%$Resources:wss,siteactions_takeofflinedescription%>"
                                    ImageUrl="/_layouts/images/connecttospworkspace32.png"
                                    MenuGroupId="100"
                                    Sequence="120"
                                    />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreatePage"
                                    Text="<%$Resources:wss,siteactions_createpage%>"
                                    Description="<%$Resources:wss,siteactions_createpagedesc%>"
                                    ImageUrl="/_layouts/images/NewContentPageHH.png"
                                    MenuGroupId="200"
                                    Sequence="210"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Page')) { OpenCreateWebPageDialog('~site/_layouts/createwebpage.aspx') }"
                                    PermissionsString="AddListItems, EditListItems"
                                    PermissionMode="All" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateDocLib"
                                    Text="<%$Resources:wss,siteactions_createdoclib%>"
                                    Description="<%$Resources:wss,siteactions_createdoclibdesc%>"
                                    ImageUrl="/_layouts/images/NewDocLibHH.png"
                                    MenuGroupId="200"
                                    Sequence="220"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&ListTemplate=101') }"
                                    PermissionsString="ManageLists"
                                    PermissionMode="Any"
                                    VisibilityFeatureId="00BFEA71-E717-4E80-AA17-D0C71B360101" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateSite"
                                    Text="<%$Resources:wss,siteactions_createsite%>"
                                    Description="<%$Resources:wss,siteactions_createsitedesc%>"
                                    ImageUrl="/_layouts/images/newweb32.png"
                                    MenuGroupId="200"
                                    Sequence="230"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('Site')) { STSNavigate('~site/_layouts/newsbweb.aspx') }"
                                    PermissionsString="ManageSubwebs,ViewFormPages"
                                    PermissionMode="All" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Create"
                                    Text="<%$Resources:wss,siteactions_create%>"
                                    Description="<%$Resources:wss,siteactions_createdesc%>"
                                    MenuGroupId="200"
                                    Sequence="240"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('All')) { STSNavigate('~site/_layouts/create.aspx') }"
                                    PermissionsString="ManageLists, ManageSubwebs"
                                    PermissionMode="Any" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_ViewAllSiteContents"
                                    Text="<%$Resources:wss,quiklnch_allcontent%>"
                                    Description="<%$Resources:wss,siteactions_allcontentdescription%>"
                                    ImageUrl="/_layouts/images/allcontent32.png"
                                    MenuGroupId="300"
                                    Sequence="302"
                                    UseShortId="true"
                                    ClientOnClickNavigateUrl="~site/_layouts/viewlsts.aspx"
                                    PermissionsString="ViewFormPages"
                                    PermissionMode="Any" />
                                 <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditSite"
                                    Text="<%$Resources:wss,siteactions_editsite%>"
                                    Description="<%$Resources:wss,siteactions_editsitedescription%>"
                                    ImageUrl="/_layouts/images/SharePointDesigner32.png"
                                    MenuGroupId="300"
                                    Sequence="304"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="EditInSPD('~site/',true);"
                                    PermissionsString="AddAndCustomizePages"
                                    PermissionMode="Any"
                                />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_SitePermissions"
                                    Text="<%$Resources:wss,people_sitepermissions%>"
                                    Description="<%$Resources:wss,siteactions_sitepermissiondescriptionv4%>"
                                    ImageUrl="/_layouts/images/Permissions32.png"
                                    MenuGroupId="300"
                                    Sequence="310"
                                    UseShortId="true"
                                    ClientOnClickNavigateUrl="~site/_layouts/user.aspx"
                                    PermissionsString="EnumeratePermissions"
                                    PermissionMode="Any" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_Settings"
                                    Text="<%$Resources:wss,settings_pagetitle%>"
                                    Description="<%$Resources:wss,siteactions_sitesettingsdescriptionv4%>"
                                    ImageUrl="/_layouts/images/settingsIcon.png"
                                    MenuGroupId="300"
                                    Sequence="320"
                                    UseShortId="true"
                                    ClientOnClickNavigateUrl="~site/_layouts/settings.aspx"
                                    PermissionsString="EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData"
                                    PermissionMode="Any" />
                                <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CommitNewUI"
                                    Text="<%$Resources:wss,siteactions_commitnewui%>"
                                    Description="<%$Resources:wss,siteactions_commitnewuidescription%>"
                                    ImageUrl="/_layouts/images/visualupgradehh.png"
                                    MenuGroupId="300"
                                    Sequence="330"
                                    UseShortId="true"
                                    ClientOnClickScriptContainingPrefixedUrl="GoToPage('~site/_layouts/prjsetng.aspx')"
                                    PermissionsString="ManageWeb"
                                    PermissionMode="Any"
                                    ShowOnlyIfUIVersionConfigurationEnabled="true" />
                            </SharePoint:FeatureMenuTemplate>
                            </CustomTemplate>
                          </SharePoint:SiteActions></span>
                        <SharePoint:PopoutMenu
                                runat="server"
                                ID="GlobalBreadCrumbNavPopout"
                                IconUrl="/_layouts/images/fgimg.png"
                                IconAlt="<%$Resources:wss,master_breadcrumbIconAlt%>"
                                IconOffsetX=0
                                IconOffsetY=112
                                IconWidth=16
                                IconHeight=16
                                AnchorCss="s4-breadcrumb-anchor"
                                AnchorOpenCss="s4-breadcrumb-anchor-open"
                                MenuCss="s4-breadcrumb-menu">
                                <div class="s4-breadcrumb-top">
                                    <asp:Label ID="Label1" runat="server" CssClass="s4-breadcrumb-header" Text="<%$Resources:wss,master_breadcrumbHeader%>" />
                                </div>
                                <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
                                    <SharePoint:ListSiteMapPath
                                        runat="server"
                                        SiteMapProviders="CurrentNavigation"
                                        RenderCurrentNodeAsLink="false"
                                        PathSeparator=""
                                        CssClass="s4-breadcrumb"
                                        NodeStyle-CssClass="s4-breadcrumbNode"
                                        CurrentNodeStyle-CssClass="s4-breadcrumbCurrentNode"
                                        RootNodeStyle-CssClass="s4-breadcrumbRootNode"
                                        NodeImageOffsetX=0
                                        NodeImageOffsetY=353
                                        NodeImageWidth=16
                                        NodeImageHeight=16
                                        NodeImageUrl="/_layouts/images/fgimg.png"
                                        HideInteriorRootNodes="true"
                                        SkipLinkText="" />
                                    </asp:ContentPlaceHolder>
                            </SharePoint:PopoutMenu>
                        <SharePoint:PageStateActionButton id="PageStateActionButton" runat="server" Visible="false" />
                    </SharePoint:SPRibbonPeripheralContent>
                    <SharePoint:SPRibbonPeripheralContent
                            runat="server"
                            Location="TabRowRight"
                            CssClass="s4-trc-container s4-notdlg">
                        <div id="s4-searcharea" class="s4-search s4-rp">
                            <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
                                <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4" />
                            </asp:ContentPlaceHolder>
                        </div>
                    </SharePoint:SPRibbonPeripheralContent>
                </SharePoint:SPRibbon>
                <div id="notificationArea" class="s4-noti"></div>
                <asp:ContentPlaceHolder ID="SPNavigation" runat="server">
                    <SharePoint:DelegateControl runat="server" ControlId="PublishingConsole" Id="PublishingConsoleDelegate" />
                </asp:ContentPlaceHolder>
                <div id="WebPartAdderUpdatePanelContainer">
                    <asp:UpdatePanel
                        ID="WebPartAdderUpdatePanel"
                        UpdateMode="Conditional"
                        ChildrenAsTriggers="false"
                        runat="server">
                        <ContentTemplate>
                            <WebPartPages:WebPartAdder ID="WebPartAdder" runat="server" />
                        </ContentTemplate>
                        <Triggers>
                            <asp:PostBackTrigger ControlID="WebPartAdder" />
                        </Triggers>
                    </asp:UpdatePanel>
                </div>
            </div>
        </div>
        <div id="s4-workspace">
            <div id="s4-bodyContainer">
                <div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle">
                    <table class="titlerow-table" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="breadcrumb">
                                <asp:SiteMapPath
                                    runat="server"
                                    SiteMapProviders="SPSiteMapProvider,SPXmlContentMapProvider"
                                    RenderCurrentNodeAsLink="false"
                                    NodeStyle-CssClass="breadcrumbNode"
                                    CurrentNodeStyle-CssClass="breadcrumbCurrentNode"
                                    RootNodeStyle-CssClass="breadcrumbRootNode"
                                    HideInteriorRootNodes="true"
                                    SkipLinkText="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="title">
                                <h1><asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" /></h1>
                                <h3><asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server" /></h3>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="s4-statusbarcontainer">
                    <div id="pageStatusBar" class="s4-status-s1"></div>
                </div>
                <!--Begin Nav|Content Area-->
                <div class="body-wrapper">
                    <a name="startNavigation"></a>
                    <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server" />
                    <asp:ContentPlaceHolder id="PlaceHolderGlobalNavigationSiteMap" runat="server" />
                    <div id="s4-leftpanel" class="left-nav-bar s4-notdlg res-nav-l">
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarDataSource" runat="server" />
                        <asp:ContentPlaceHolder id="PlaceHolderCalendarNavigator" runat="server" />
                        <asp:ContentPlaceHolder id="PlaceHolderWikiNavigator" runat="server" />
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBarTop" runat="server" />
                        <PublishingNavigation:PortalSiteMapDataSource
                            ID="SiteMapDS"
                            runat="server"
                            EnableViewState="false"
                            SiteMapProvider="CurrentNavigation"
                            StartFromCurrentNode="true"
                            StartingNodeOffset="0"
                            ShowStartingNode="false"
                            TrimNonCurrentTypes="Heading"/>
                        <asp:ContentPlaceHolder id="PlaceHolderLeftNavBar" runat="server">
                            <SharePoint:AspMenu
                                ID="CurrentNav"
                                runat="server"
                                EnableViewState="false"
                                DataSourceID="SiteMapDS"
                                UseSeparateCSS="false"
                                UseSimpleRendering="true"
                                Orientation="Vertical"
                                StaticDisplayLevels="2"
                                MaximumDynamicDisplayLevels="0"
                                CssClass="nightanday-menu" SkipLinkText="<%$Resources:cms,masterpages_skiplinktext%>"/>
                            <Sharepoint:SPNavigationManager runat="server"
                                id="TreeViewNavigationManager"
                                ContainedControl="TreeView">
                                <table class="ms-navSubMenu1" cellpadding="0" cellspacing="0" border="0"><tr><td>
                                <table class="ms-navheader" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap="nowrap" id="idSiteHierarchy"><SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" id="idNavLinkSiteHierarchy" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></td></tr></table>
                                </td></tr></table>
                                <div class="ms-treeviewouter">
                                    <SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">
                                        <Template_Controls>
                                            <SharePoint:SPHierarchyDataSourceControl
                                                runat="server"
                                                id="TreeViewDataSource"
                                                RootContextObject="Web"
                                                IncludeDiscussionFolders="true"/>
                                            <SharePoint:SPRememberScroll runat="server" id="TreeViewRememberScroll" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;height: 400px;width: 160px; ">
                                                <Sharepoint:SPTreeView
                                                    id="WebTreeView"
                                                    runat="server"
                                                    ShowLines="false"
                                                    DataSourceId="TreeViewDataSource"
                                                    ExpandDepth="0"
                                                    SelectedNodeStyle-CssClass="ms-tvselected"
                                                    NodeStyle-CssClass="ms-navitem"
                                                    NodeStyle-HorizontalPadding="2"
                                                    SkipLinkText=""
                                                    NodeIndent="12"
                                                    ExpandImageUrl="/_layouts/images/tvplus.gif"
                                                    CollapseImageUrl="/_layouts/images/tvminus.gif"
                                                    NoExpandImageUrl="/_layouts/images/tvblank.gif">
                                               </Sharepoint:SPTreeView>
                                            </Sharepoint:SPRememberScroll>
                                        </Template_Controls>
                                    </SharePoint:DelegateControl>
                                </div>
                            </Sharepoint:SPNavigationManager>
                        </asp:ContentPlaceHolder>
                        <asp:ContentPlaceHolder id="PlaceHolderLeftActions" runat="server" />
                        <asp:ContentPlaceHolder id="PlaceHolderNavSpacer" runat="server" />
                    </div>
                    <div class="s4-ca main-container" id="MSO_ContentDiv" runat="server">
                        <div class="main-content">
                            <a name="mainContent"></a>
                            <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" />
                        </div>
                    </div>
                    <!--End Nav|Content Area-->
                    <div id="DeveloperDashboard" class="ms-developerdashboard">
                        <SharePoint:DeveloperDashboard runat="server" />
                    </div>
                </div>
            </div>
        </div>
        <asp:Panel Visible="false" runat="server">
            <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server" />
            <asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server" />
            <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderPageImage" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderBodyLeftBorder" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderTitleLeftBorder" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderTitleAreaSeparator" runat="server" />
            <asp:ContentPlaceHolder ID="OSSConsole" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderTitleRightMargin" runat="server" />
            <asp:ContentPlaceHolder id="PlaceHolderBodyAreaClass" runat ="server" />
            <asp:ContentPlaceHolder id="PlaceHolderTitleAreaClass" runat ="server" />
            <asp:ContentPlaceHolder id="PlaceHolderBodyRightMargin" runat="server" />
            <asp:ContentPlaceHolder id="PlaceHolderLeftNavBorder" runat="server" />
            <asp:ContentPlaceHolder id="WSSDesignConsole" runat="server" />
            <asp:ContentPlaceHolder ID="PlaceHolderMiniConsole" runat="server" />
        </asp:Panel>
        <asp:ContentPlaceHolder id="PlaceHolderFormDigest" runat="server">
            <SharePoint:FormDigest runat="server"/>
        </asp:ContentPlaceHolder>
        </form>
        <asp:ContentPlaceHolder id="PlaceHolderUtilityContent" runat="server"/>
    </body>
    </html>


    Any help you can offer would be greatly appreciated.  As mentioned, I have had success with the EnableCombineScripts and the CDN features outside of SharePoint, so there seems to be something preventing these features from working in SharePoint specifically, or at least with the way this master page is designed.

    Thanks,

    Chris


  4. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 31 Oct 2012 Link to this post

    EDIT:  Removing duplicate post.  See post above.

    Chris


  5. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 05 Nov 2012 Link to this post

    Hi Kalina,

    I haven't heard anything back from you so I thought I would check in. Any insights on this one yet?

    Thanks in advance,

    Chris
  6. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 06 Nov 2012 Link to this post

    Hi Chris,
    Please excuse us for the delay.

    In general RadScriptManager combines the scripts by default (the EnableScriptCombine property is "true" by default).
    However there was an issue with loading scripts upon AJAX in SharePoint that Microsoft successfully fixed in their cumulative update from October 2011.
    I suppose that this fix has been implemented in the ASP.NET ScriptManager.
    Since the RadScriptManager control inherits the ScriptManager - this change affects it as well.

    What exactly your scenario is? As far as I understand - you want the scripts to be combined but at the same time you are trying to use CDN which is quite unusual.


    Regards,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 08 Nov 2012 Link to this post

    Hi Kalina,

    I have applied the lastest cumulative update to my SharePoint environment (the one from August 2011) and the issue still persists. I'm simply trying to enable script combining OR the CDN feature, but neither of them seem to work.

    Using the detailed steps I previously provided, were you able to witness these features working?  What I'm really looking for is somebody to try out my scenario on your end and confirm that these do or do not work.

    Thank you,

    Chris
  8. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 13 Nov 2012 Link to this post

    Hi Chris,

    We reproduced the issue with scripts combining with RadScriptManager and we have tested the CDN as well.

    Additionally - we tested and reproduced the same issues with the ASP.NET ScriptManager.
    It appears that the RadScriptManager behaviour is inherited from its base class - ASP.NET ScriptManager.
    I am afraid that the issues are caused by limitations of the ScriptManager under SharePoint.

    Regards,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 13 Nov 2012 Link to this post

    Thanks for investigating Kalina, though your findings are very dissappointing. Any chance this will be fixed in a future update?  Or some kind of work-around will be provided?  Not being able to combine scripts is real performance killer for us in high-latency situations.

    Thank you,

    Chris
  10. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 16 Nov 2012 Link to this post

    Hi Chris,

    I understand your point.
    Let me suggest you to try getting the combined scripts from the assembly and register them manually - as described in this help article.

    To illustrate the approach I prepared a sample page for you - it is quite simple and contains only RadScriptManager and RadComboBox.

    Please find it attached and give it a try.


    All the best,
    Kalina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top