Editing a Dashboard in the Designer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.The Stimulsoft web dashboard designer can be embedded in an ASP.NET Core MVC application.
Adding the designer to a view. Use the
Providing the dashboard. The controller supplies the dashboard and handles the designer's events:
The full dashboard designer — elements, data, styling — runs in the browser, letting users build and edit dashboards without any desktop software.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

Adding the designer to a view. Use the
@Html.StiNetCoreDesigner helper:@Html.StiNetCoreDesigner(new StiNetCoreDesignerOptions()
{
Actions =
{
GetReport = "GetReport",
DesignerEvent = "DesignerEvent"
}
})Providing the dashboard. The controller supplies the dashboard and handles the designer's events:
public IActionResult GetReport()
{
var report = StiReport.CreateNewDashboard();
report.Load(StiNetCoreHelper.MapPath(this, "Dashboards/DashboardChristmas.mrt"));
return StiNetCoreDesigner.GetReportResult(this, report);
}
public IActionResult DesignerEvent()
{
return StiNetCoreDesigner.DesignerEventResult(this);
}The full dashboard designer — elements, data, styling — runs in the browser, letting users build and edit dashboards without any desktop software.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
