سلام
من کد زیر را نوشته ام
@using Stimulsoft.Report.Mvc@{ ViewBag.Title = "Contact";} @Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions(){ Localization = "~/content/reports/fa.xml", Actions = { GetReportSnapshot = "LoadReportSnapshot", ViewerEvent = "ViewerEvent", ExportReport = "ExportReport", PrintReport = "PrintReport" }})
public ActionResult LoadReportSnapshot() { var testChartOnes=new List(); testChartOnes.AddRange(new List { new TestChartOne{Name = "D",Count = 2}, new TestChartOne{Name = "I",Count = 17}, new TestChartOne{Name = "S",Count = 10}, new TestChartOne{Name = "C",Count = 24}, }); var report = new StiReport(); report.Load(Server.MapPath("~/Reports/DI980318.mrt")); report.RegBusinessObject("db", testChartOnes); report.Dictionary.Variables.Add("DatePer", "1397/01/01"); return StiMvcViewer.GetReportSnapshotResult(HttpContext, report); } public virtual ActionResult ViewerEvent() { return StiMvcViewer.ViewerEventResult(); } public virtual ActionResult PrintReport() { return StiMvcViewer.PrintReportResult(this.HttpContext); } public virtual ActionResult ExportReport() { return StiMvcViewer.ExportReportResult(); }
و چارت را در استیمول قرار داده ام
اما هنگام اجرا داخل چارت چیزی نمایش میدهد
بایدچکارکنم
این پست در تاریخ {{ dateString(new Date(post.deleteDate)) }} توسط {{ post.deletedByUser }} حذف شده است.
دلیل حذف: {{ post.deleteReason ?? 'نامشخص' }}
زمان پاسخ گویی روز های شنبه الی چهارشنبه ساعت 9 الی 18
فقط به موضوعات مربوط به محصولات آموزشی و فروش پاسخ داده می شود