Completed
Last Updated: 05 Dec 2018 17:36 by MA
ADMIN
Vessy
Created on: 03 May 2017 11:21
Category: UI for ASP.NET AJAX
Type: Bug Report
1
Fix CDN script combining in CombinedScript.js for RadGrid
When the scripts are loaded through a script manager with enabled CDN and RadScriptManager.CombinedResource="Enabled", JS error will be thrown then the filtering button of the Grid is clicked.

Code to reproduce the problem:
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <CdnSettings TelerikCdn="Enabled" CombinedResource="Enabled" />
        </telerik:RadScriptManager>

        <telerik:RadGrid ID="UserDetailsGrid" runat="server" AllowFilteringByColumn="true" OnNeedDataSource="UserDetailsGrid_NeedDataSource"
            EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true">
        </telerik:RadGrid>

C#:
        protected void UserDetailsGrid_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            var list = new[] {
                    new { FirstName = "F1", LastName ="L1"},
                    new { FirstName = "F2", LastName ="L2"},
                    new { FirstName = "F3", LastName ="L3"},
                    new { FirstName = "F4", LastName ="L4"}
                    }.ToList();
            UserDetailsGrid.DataSource = list;
        }
1 comment
MA
Posted on: 05 Dec 2018 17:36
Any news on this?