Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
$ig.loader not working
posted

My script never reaches to the second alert i.e. alert("hi1"). I think there is some problem with my ig.loader any helps??

I have this Report1.igr report that I am trying to display on this Repot.cshtml page but nothing appears except the heading




//

alert("hi")
$.ig.loader({
scriptPath: "@Url.Content("~/Scripts/Infragistics")",
cssPath: "@Url.Content("~/Content/Infragistics/")",
resources: "igReportViewer"
});
alert("Hi 1");

$.ig.loader(function () {
alert("hi 2");
$("#report").igReportViewer({
height: 600,
renderSettings: {
definitionUri: 'ReportingClassLibrary;component/Report1.igr',
serviceEndpointUri: "ReportService.svc/ajaxAddress/"
}
});
});

// ]]>

Parents
  • 65
    posted

    I Have changed a few things on this i.e. the path to the scripts seemed incorrect. But now the errors that I am getting are. 

    Uncaught TypeError: Cannot read property 'bulkDefine' of undefined :65463/js/scripts/modules/infragistics.dv.core.js:14
    Uncaught TypeError: undefined is not a function :65463/js/scripts/modules/infragistics.ui.chartlegend.js:16
    Uncaught TypeError: undefined is not a function :65463/js/scripts/modules/infragistics.ui.chart.js:24
    Uncaught TypeError: Cannot read property 'bulkDefine' of undefined :65463/js/scripts/modules/infragistics.chart_categorychart.js:14
    Uncaught TypeError: Cannot read property 'bulkDefine' of undefined :65463/js/scripts/modules/infragistics.chart_financialchart.js:14
    Uncaught TypeError: Cannot read property 'igReportViewerConstants' of undefined infragistics.ui.reportviewer.js:1
    Uncaught TypeError: undefined is not a function Report:68

    While Viewing in the browser's Inspect item.

Reply Children