#pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(31, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(56, 61, true);
                WriteLiteral("<span class=\"sampleName\"> ReportViewer/Territory Sales</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(145, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(151, 138, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-report-viewer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "51a7773d59f644728c474f027127031e", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ReportViewerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ReportViewerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ReportViewerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportServiceUrl = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPath = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPrint = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(289, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(317, 374, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
            function onReportPrint(args) {               
                args.isStyleLoad = false;
                var data = $(""#reportviewer1"").data('ejReportViewer');
                if (data._browserInfo.name != ""msie"") {
                    args.printWind.printDelay = 2000;
                }
            }
    </script>
");
                EndContext();
            }
                          );
        }
Exemple #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(31, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(56, 53, true);
                WriteLiteral("<span class=\"sampleName\"> ReportViewer/Default</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(137, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(143, 179, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-report-viewer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2878167522c34691974eeb1c8f224030", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ReportViewerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ReportViewerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ReportViewerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportServiceUrl = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPath = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 5 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ReportViewer\Default.cshtml"
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ProcessingMode = global::Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("processing-mode", __Syncfusion_JavaScript_Models_ReportViewerProperties.ProcessingMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPrint = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(322, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(350, 186, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n            function onReportPrint(args) {               \r\n                args.isStyleLoad = false;               \r\n            }\r\n    </script>\r\n");
                EndContext();
            }
                          );
        }
 #pragma warning disable 1998
 public async override global::System.Threading.Tasks.Task ExecuteAsync()
 {
     BeginContext(31, 2, true);
     WriteLiteral("\r\n");
     EndContext();
     DefineSection("SampleHeading", async() => {
         BeginContext(56, 64, true);
         WriteLiteral("<span class=\"sampleName\"> ReportViewer/Grouping Aggregate</span>");
         EndContext();
     }
                   );
     DefineSection("ControlsSection", async() => {
         BeginContext(148, 6, true);
         WriteLiteral("\r\n    ");
         EndContext();
         BeginContext(154, 141, false);
         __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-report-viewer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8cf72398260f433d952d13fa5037de05", async() => {
         }
                                                                     );
         __Syncfusion_JavaScript_Models_ReportViewerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ReportViewerProperties>();
         __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ReportViewerProperties);
         __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
         __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportServiceUrl = (string)__tagHelperAttribute_1.Value;
         __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
         __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPath = (string)__tagHelperAttribute_2.Value;
         __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
         __Syncfusion_JavaScript_Models_ReportViewerProperties.ReportPrint = (string)__tagHelperAttribute_3.Value;
         __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
         await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
         if (!__tagHelperExecutionContext.Output.IsContentModified)
         {
             await __tagHelperExecutionContext.SetOutputContentAsync();
         }
         Write(__tagHelperExecutionContext.Output);
         __tagHelperExecutionContext = __tagHelperScopeManager.End();
         EndContext();
         BeginContext(295, 2, true);
         WriteLiteral("\r\n");
         EndContext();
     }
                   );
     DefineSection("ScriptSection", async() => {
         BeginContext(323, 186, true);
         WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n            function onReportPrint(args) {               \r\n                args.isStyleLoad = false;               \r\n            }\r\n    </script>\r\n");
         EndContext();
     }
                   );
 }