Advertisement
Guest User

Untitled

a guest
May 6th, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. @using Stimulsoft.Report.Mvc;
  2. @using Stimulsoft.Report.Web;
  3. @using WorkDev.Fabrica.WApp.Sistema.Controllers.Padrao;
  4.  
  5. @model RelatorioViewModel
  6.  
  7. <input wd-for="@Model.Formulario" type="hidden" />
  8. <input wd-for="@Model.Sequencia" type="hidden" />
  9.  
  10. @{
  11. ViewData["Title"] = "Home Page";
  12. }
  13.  
  14. <br />
  15. @Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
  16. {
  17. Actions =
  18. {
  19. GetReport = nameof(StimulReportsController.GetReportViewer),
  20. ViewerEvent = nameof(StimulReportsController.ViewerEvent),
  21. DesignReport = nameof(StimulReportsController.DesignReport),
  22. EmailReport = nameof(StimulReportsController.EmailReport),
  23. ExportReport = nameof(StimulReportsController.ExportReport),
  24. },
  25. Appearance =
  26. {
  27. FullScreenMode = true,
  28. InterfaceType = StiInterfaceType.Auto,
  29. ReportDisplayMode = StiReportDisplayMode.Table,
  30. DesignWindow = StiTargetWindow.Blank,
  31. ShowTooltips = true,
  32. ShowTooltipsHelp = true,
  33. DatePickerFirstDayOfWeek = StiFirstDayOfWeek.Monday,
  34. },
  35. Theme = StiViewerTheme.Windows7,
  36. Toolbar =
  37. {
  38. ShowDesignButton = true,
  39. ShowAboutButton = true,
  40. ShowEditorButton = true,
  41. ShowSendEmailButton = true,
  42. ShowFindButton = true,
  43. DisplayMode = StiToolbarDisplayMode.Separated,
  44. ViewMode = StiWebViewMode.Continuous,
  45. },
  46. Exports =
  47. {
  48. ShowExportDialog = true,
  49. ShowExportToCsv = true,
  50. ShowExportToDocument = true,
  51. ShowExportToExcel2007 = true,
  52. ShowExportToHtml = true,
  53. ShowExportToHtml5 = true,
  54. ShowExportToPdf = true,
  55. ShowExportToWord2007 = true,
  56. StoreExportSettings = true,
  57. },
  58. Localization = "wwwroot/stimul/localization/pt-BR.xml",
  59. Server =
  60. {
  61. RequestTimeout = 60,
  62. UseRelativeUrls = true,
  63. PassQueryParametersForResources = true,
  64. ShowServerErrorPage = true,
  65. UseCompression = true,
  66. AllowAutoUpdateCache = true,
  67. CacheTimeout = 60,
  68. CacheItemPriority = Stimulsoft.System.Web.Caching.CacheItemPriority.AboveNormal,
  69. UseCacheForResources = true,
  70. },
  71. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement