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 Reply Children