Error with RSjQuery while using RadScriptManager and Microsoft.ReportViewer.Webforms 14.0.0.0 from VS 2015

2 posts, 0 answers
  1. Sudha
    Sudha avatar
    1 posts
    Member since:
    Apr 2011

    Posted 26 Sep 2017 Link to this post

    I have installed SQLServer.Types (version 14.0.314.76 from NuGet) followed by Microsoft.ReportingServices.ReportViewer.Webforms 14.0.0.0 (version: 140.802.134 NuGet) . 

    The website has references to Telerik.Web.UI.dll (2017.2.711.45) and Telerik.Web.UI.Skins.dll (2017.2.711.45).

    I am using RadScriptManager in a page.
    I have followed all the steps (to add the control to a web page) and make sure web.config has the related entries for both ReportViewer.WebForms and ReportView.Common dlls, httphandlers, handlers etc. But, when I try to run (from Visual Studio 2015), it breaks at code line
      // Setup responsive toolbar layout         var self = this;
            if ($) {             window.$RSjQuery(window).on("resize", function () {                 self.ResizeToolbarIcons();             });         }
     in Microsoft.Reporting.WebFormsClient._Toolbar.prototype.ConnectEventHandlers() of Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=14.0.802.134&Name=ViewerScript[dynamic] and I noticed that the error is because 'window.$RSjQuery is undefined'. What could I be missing in my installations ? Could you please help?
    Thank you

  2. Rumen
    Admin
    Rumen avatar
    13302 posts

    Posted 29 Sep 2017 Link to this post

    Hi Sudha,

    I examined the error details and noticed that the problem is not directly related to Telerik AJAX component. It could be due to a wrong jQuery version, not registered jQuery or something other that we are not aware of.

    Does the problem happen if you replace RadScriptManager with Asp:ScriptManager? If yes, you can safely use the Asp:ScriptManager with all Telerik AJAX components so you can keep it.

    If the problem is still reproducible with the Asp:ScriptManager contact Microsoft support or ask in the MS ASP.NET forums for help.

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top