StiJsViewer is not defined in your platform only ?

Monday, May 6, 2024 3:24:03 AM
  • Posted: Friday, August 31, 2018 9:37 PM
  • 44
Dear Sir

i have try to use stimulsoft tools in my asp core project that working on grand node  - and i do all steps as this video  "https://www.youtube.com/watch?v=KXIJL7aVqWY"

but it's not working always get Error in the console "Uncaught ReferenceError: StiJsViewer is not defined"

Note: i try it in New project without grand Node Platform and it works fine, but i need to make it works on my grand project

so please how can i resolve that ?
0
  • Posted: Monday, September 3, 2018 8:55 AM
  • 953
It looks like you want to load this script before jQuery, so it doesn't work. Please check it, but we are not providing support for third part libraries.

Best,
Patryk
Best regards,
Patryk

GrandNode Team
0
  • Posted: Wednesday, February 13, 2019 7:04 PM
  • 44
i don't add any js files as video i c - if i do all steps in another asp core without grand - it works fine
when i add it to grand only i got the erro when i try to view the report - it's not related to third part - the problem on grand only and i don't know why ?

code only is

controller:
        
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult GetReport()
        {
            var path = StiNetCoreHelper.MapPath(this, "Reports/Report.mrt");
            var str = System.IO.File.ReadAllText(path);
            var report = new StiReport();
            report.LoadFromString(str);

            return StiNetCoreViewer.GetReportResult(this, report);
        }

        public IActionResult ViewerEvent()
        {
            return StiNetCoreViewer.ViewerEventResult(this);
        }


cshtml file
@using Stimulsoft.Report.Web;
@using Stimulsoft.Report.Mvc;

@Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
{
    Actions =
    {
        GetReport = "GetReport",
        ViewerEvent = "ViewerEvent"
    }
})


and i have install stimulsoft.reports.web.netcore from nuget - that all what i did

so please hope to get help with that
0
  • Posted: Thursday, February 14, 2019 9:58 AM
  • 953
We are not familiar with StiJsViewer, maybe you should consider developer support services?
Best regards,
Patryk

GrandNode Team
0
back to top
Filters