Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using Stimulsoft.Report.Mvc;
- @using Stimulsoft.Report.Web;
- @using WorkDev.Fabrica.WApp.Sistema.Controllers.Padrao;
- @model RelatorioViewModel
- <input wd-for="@Model.Formulario" type="hidden" />
- <input wd-for="@Model.Sequencia" type="hidden" />
- @{
- ViewData["Title"] = "Home Page";
- }
- <br />
- @Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
- {
- Actions =
- {
- GetReport = nameof(StimulReportsController.GetReportViewer),
- ViewerEvent = nameof(StimulReportsController.ViewerEvent),
- DesignReport = nameof(StimulReportsController.DesignReport),
- EmailReport = nameof(StimulReportsController.EmailReport),
- ExportReport = nameof(StimulReportsController.ExportReport),
- },
- Appearance =
- {
- FullScreenMode = true,
- InterfaceType = StiInterfaceType.Auto,
- ReportDisplayMode = StiReportDisplayMode.Table,
- DesignWindow = StiTargetWindow.Blank,
- ShowTooltips = true,
- ShowTooltipsHelp = true,
- DatePickerFirstDayOfWeek = StiFirstDayOfWeek.Monday,
- },
- Theme = StiViewerTheme.Windows7,
- Toolbar =
- {
- ShowDesignButton = true,
- ShowAboutButton = true,
- ShowEditorButton = true,
- ShowSendEmailButton = true,
- ShowFindButton = true,
- DisplayMode = StiToolbarDisplayMode.Separated,
- ViewMode = StiWebViewMode.Continuous,
- },
- Exports =
- {
- ShowExportDialog = true,
- ShowExportToCsv = true,
- ShowExportToDocument = true,
- ShowExportToExcel2007 = true,
- ShowExportToHtml = true,
- ShowExportToHtml5 = true,
- ShowExportToPdf = true,
- ShowExportToWord2007 = true,
- StoreExportSettings = true,
- },
- Localization = "wwwroot/stimul/localization/pt-BR.xml",
- Server =
- {
- RequestTimeout = 60,
- UseRelativeUrls = true,
- PassQueryParametersForResources = true,
- ShowServerErrorPage = true,
- UseCompression = true,
- AllowAutoUpdateCache = true,
- CacheTimeout = 60,
- CacheItemPriority = Stimulsoft.System.Web.Caching.CacheItemPriority.AboveNormal,
- UseCacheForResources = true,
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement