#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 51, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(327, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(354, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(356, 981, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efab018cd37e46a58dd7e145418f30fa", async() => { BeginContext(559, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(565, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb7ea6bc3e084e9cb3f7d5eb0dd2064c", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 715, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60ebc73e47ab44ffb901f1b60ca8d665", async() => { BeginContext(722, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(732, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a96c4342cd5421b9e60e09576cfe95e", async() => { BeginContext(746, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(760, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "475ba598124b4ba4a6592903f23d470c", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(832, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(857, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(867, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ec33dcacd69420d97211eaea4eee787", async() => { BeginContext(884, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(898, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "13b0e0617a0647a19b6de5be6013bf46", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(975, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1003, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1013, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "25edeb6d83c24593a58702e7d71fb359", async() => { BeginContext(1029, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1043, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ee80e52bccf84b4b8c218c5a986b2591", async() => { BeginContext(1072, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1090, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "82a4b6d4c4614af6b6d34d9fe30fa301", async() => { BeginContext(1102, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1124, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e07e4e55ab74f41ad2989614309b534", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1207, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1238, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Olap.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1268, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1295, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1317, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1337, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1365, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3068, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 65, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Calculated Members</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(140, 181, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to render the calculated members and measures.\">\r\n"); EndContext(); } ); BeginContext(324, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(351, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(353, 1491, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c1ff2f9696e418bbc6f433da47bdd2a", async() => { BeginContext(556, 5, true); WriteLiteral("\r\n "); EndContext(); BeginContext(561, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-icon-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e02f0013e394401f8b7e41d44a84946a", async() => { } ); __Syncfusion_JavaScript_PivotClientToolbarIconSettings = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientToolbarIconSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientToolbarIconSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-calculated-member", __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(644, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(650, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f72a5be996e4d539aa669ab189c3382", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(681, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(687, 1129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e826dcfc7ae0480dba96a29b69416c47", async() => { BeginContext(807, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "11d94dd78d3249b8b304dbd6635cc669", async() => { BeginContext(831, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(845, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a10b1435da6c402b9fd0762427735551", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(901, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(926, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(936, 393, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d2306b7526b84577984a9408060caf02", async() => { BeginContext(953, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(967, 242, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "488518314d284ae18ddd3218c36dfef5", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_Field.Expression = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.HierarchyUniqueName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1209, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1223, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e165a2eb7f064a1f87d0560aab32308f", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1301, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1329, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1339, 445, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f70eea3e3c24a3d9fa0162155e43042", async() => { BeginContext(1355, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1369, 388, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9694fc6fd94c467c95fef2364cdc02d7", async() => { BeginContext(1398, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1416, 311, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64a3ab7215224918aeda89ddfc67242a", async() => { BeginContext(1428, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1450, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b9ef1f3123b14680b881ed4d1ef558f3", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1533, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1555, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99c048c3d0c947d1bff7f3c7e62fc4db", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MeasuresItems.Expression = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1696, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1727, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1757, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1784, 16, true); WriteLiteral("\r\n \r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1816, 10, true); WriteLiteral("\r\n\r\n \r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1844, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1872, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3575, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 65, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Calculated Members</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(140, 181, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to render the calculated members and measures.\">\r\n"); EndContext(); } ); BeginContext(324, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(351, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(353, 1491, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c26366c57064cabb0df0ffb2d60bfc0", async() => { BeginContext(556, 5, true); WriteLiteral("\r\n "); EndContext(); BeginContext(561, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-icon-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "726b144442d2441d826b01177551e844", async() => { } ); __Syncfusion_JavaScript_PivotClientToolbarIconSettings = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientToolbarIconSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientToolbarIconSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-calculated-member", __Syncfusion_JavaScript_PivotClientToolbarIconSettings.EnableCalculatedMember, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(644, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(650, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8cf8ac435c1341eeaa6eb2f3f6349938", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(681, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(687, 1129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c2c8c45a56d42bbbd95acb2f5ec242f", async() => { BeginContext(807, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "832a716c182e48d58d089d661d1489ef", async() => { BeginContext(831, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(845, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d55f321173644f59beec603d1317d2b", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(901, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(926, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(936, 393, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4ee6c9b3f4c14308b033dd0b52bf6537", async() => { BeginContext(953, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(967, 242, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "33747efd06c24600961bbd7db51d40c1", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_Field.Expression = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.HierarchyUniqueName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1209, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1223, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8db8fc4a76a483bac6043f34028b759", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1301, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1329, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1339, 445, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d415b620d2934e7f8e84e499984d65e0", async() => { BeginContext(1355, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1369, 388, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39c1d0ebd1ee47c9bf2749cf3cf23353", async() => { BeginContext(1398, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1416, 311, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8639985d7845475bb2f46ffbfd290315", async() => { BeginContext(1428, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1450, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6066c9d70ee45388002fdddc56b9915", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1533, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1555, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0a910ee2b8e64b1c9f377563cf76f1ac", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MeasuresItems.Expression = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1696, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1727, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\CalculatedMembers.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1757, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1784, 16, true); WriteLiteral("\r\n \r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1816, 10, true); WriteLiteral("\r\n\r\n \r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1844, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1872, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3575, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(330, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(357, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(365, 846, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "32e59b9f66e341a3a278c386b82ac33b", async() => { BeginContext(624, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(634, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "74bf0cd58efd499fa5b5601397d6f8e7", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(665, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(675, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cecf923832784f3dbd2a44e59c192a43", async() => { BeginContext(690, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(704, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "249a3b6088f14b1689b7d96a99842abb", async() => { BeginContext(718, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(736, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efe244fab6884498b9fa5fb875d1923e", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(808, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(837, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "26de53b0be474eec830a080522b498cb", async() => { BeginContext(868, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(886, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f95904f07c3f4e9186e3f0be7fab73a0", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(958, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(990, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1004, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "260e8b04865a4ddb9c90f0e9dbac7c3b", async() => { BeginContext(1020, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1038, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ad65c137db5943d789a01531313f1d4f", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_Field.Format = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1130, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1161, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1187, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Default.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.Load = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1211, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1239, 5275, true); WriteLiteral(@" <script type=""text/javascript""> function onload(args) { args.model.dataSource.data = [ { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" }, { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" }, { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" }, { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" }, { Amount:"); WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" }, { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" }, { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" }, { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" }, { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" }, { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" }, { Amount: 200, Country: "); WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" }, { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" }, { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" }, { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" }, { Amount:"); WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" }, { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" } ]; } function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Country"" }, labelRotation: 270 }; this._pivot"); WriteLiteral(@"Chart.model.primaryYAxis = { title: { text: ""Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.model.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else "); WriteLiteral(" args.saveReportSetting.url = \"//js.syncfusion.com/ejservices/api/PivotClient/Olap\";\r\n return args;\r\n }\r\n\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(6539, 204, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px;\r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Default</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(330, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(357, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(365, 846, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca3b1cb9959f43e4ba29219bc7dc700f", async() => { BeginContext(624, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(634, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c435ca2d1734fbd8af668265977cf7b", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(665, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(675, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a787eeebfd304f8f9db136a5b19442c5", async() => { BeginContext(690, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(704, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "390c9b0fbc3f4a1b919700d8dee72d6b", async() => { BeginContext(718, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(736, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "62877faa2d5344bf84d43993f9c00a27", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(808, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(837, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(851, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70047477d44c4491afbcb807c2020566", async() => { BeginContext(868, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(886, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a4f2d19493843c4ab872f7e71283956", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(958, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(990, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1004, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "14681e1c854e4eb8bcf50002c4d99d5a", async() => { BeginContext(1020, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1038, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ce42ee94f0943229671c747f3f37a5d", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_Field.Format = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1130, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1161, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1187, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Default.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-member-editor-sorting", __Syncfusion_JavaScript_Models_PivotClientProperties.EnableMemberEditorSorting, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.Load = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1211, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1239, 5275, true); WriteLiteral(@" <script type=""text/javascript""> function onload(args) { args.model.dataSource.data = [ { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" }, { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" }, { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" }, { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" }, { Amount:"); WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" }, { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" }, { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" }, { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" }, { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" }, { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" }, { Amount: 200, Country: "); WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" }, { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" }, { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" }, { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" }, { Amount:"); WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" }, { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" } ]; } function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Country"" }, labelRotation: 270 }; this._pivot"); WriteLiteral(@"Chart.model.primaryYAxis = { title: { text: ""Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.model.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else "); WriteLiteral(" args.saveReportSetting.url = \"//js.syncfusion.com/ejservices/api/PivotClient/Olap\";\r\n return args;\r\n }\r\n\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(6539, 204, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px;\r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 53, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 192, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(348, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(350, 1130, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63c608587b86453e9cfc9e81fca24648", async() => { BeginContext(574, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(580, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "797bfb84c1b942caafa650ce520e57c3", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(611, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(617, 843, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7f541c467f384050a02eb620b924c2f2", async() => { BeginContext(737, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(747, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3dd5f17222cd44d099156151b0df4c13", async() => { BeginContext(761, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(775, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa439e1a08e546a5826a48d7eff2fc96", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(829, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(854, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(864, 137, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f86cb009ba64dd49228c7e155b6be00", async() => { BeginContext(881, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(895, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11bef1e026b4f4cbc71bc0dbb650ec9", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(973, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1001, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1011, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ec9e302ae8a495ba7569f87c56a957f", async() => { BeginContext(1027, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1041, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db6c36406d684165828b7e94a11d48d9", async() => { BeginContext(1070, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1088, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "994a2fcbb2ff48baaf7d8103628b9f0c", async() => { BeginContext(1100, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1122, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11d52ce5e894f908238a10df592268c", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1236, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1266, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1293, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1303, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19fbb66abaf247d1bb6f90b389dbf1dd", async() => { } ); __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1438, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1460, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1480, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1508, 2273, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } function renderClient(args) { pivotClient = $(""#PivotClient1"").data(""ejPivotClient""); paging = $('#Paging').data(""ejRadioButton""); pivotClient.model.enablePaging = false; pivotClient.model.enableVirtualScrolling = false; if (paging.model.checked) pivotClient.model.enablePaging = true; "); WriteLiteral(" else\r\n pivotClient.model.enableVirtualScrolling = true;\r\n pivotClient._load();\r\n }\r\n\t\t$(function () {\r\n $(\"#sampleProperties\").ejPropertiesPanel();\r\n });\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3806, 646, true); WriteLiteral(@" <style> #PivotClient1 { min-height: 275px; min-width: 525px } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4482, 296, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Paging Type </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(4778, 160, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c7337a396674444d9a898dd551bb17bb", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4938, 106, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(5044, 186, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "29fe9f574b1748ff91618f95ee990e0b", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5230, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 53, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 192, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(348, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(350, 1130, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "feac822fd49746ecaaa69db938b456eb", async() => { BeginContext(574, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(580, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f734d0e533e2462d8ac4e1bb03a1214b", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(611, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(617, 843, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a05a4542b3f4ceca2226279988b6757", async() => { BeginContext(737, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(747, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e48dee9b4ea947429a0b10e0546873d6", async() => { BeginContext(761, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(775, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2cfb4273f1e54caf8047dd40a57cff22", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(829, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(854, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(864, 137, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3ccfb31e87a4b948369012b7a808590", async() => { BeginContext(881, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(895, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b2bf435198742adb85c3a35e1fe5147", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(973, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1001, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1011, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e6912cfcf9594130981c106a87b2afd3", async() => { BeginContext(1027, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1041, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f86abbe728f24c089eb8279158ab6852", async() => { BeginContext(1070, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1088, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a18573e279c244589d326c01c63a4f0e", async() => { BeginContext(1100, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1122, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d89349ab4e3747f6a790feb6eb387b7d", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1236, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1266, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1293, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1303, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d30a58e15ea94354bbe49a793d989b26", async() => { } ); __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1438, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1460, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1480, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1508, 2273, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } function renderClient(args) { pivotClient = $(""#PivotClient1"").data(""ejPivotClient""); paging = $('#Paging').data(""ejRadioButton""); pivotClient.model.enablePaging = false; pivotClient.model.enableVirtualScrolling = false; if (paging.model.checked) pivotClient.model.enablePaging = true; "); WriteLiteral(" else\r\n pivotClient.model.enableVirtualScrolling = true;\r\n pivotClient._load();\r\n }\r\n\t\t$(function () {\r\n $(\"#sampleProperties\").ejPropertiesPanel();\r\n });\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3806, 646, true); WriteLiteral(@" <style> #PivotClient1 { min-height: 275px; min-width: 525px } .cols-prop-area { margin-top: 30px; width: 35%; height: 120px; min-height: 50px; float: left; } .radioBtnLabel { margin-left: 5px; } .cols-prop-area { width: 416px !important; min-height: 93px !important; } .col-md-3 { height: 30px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(4482, 296, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3"" style=""width:120px""> Paging Type </div> <div class=""col-md-3"" style=""width:120px""> "); EndContext(); BeginContext(4778, 160, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "35341707e298492694cba8b27cb48fc9", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4938, 106, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\" style=\"width:120px\">\r\n "); EndContext(); BeginContext(5044, 186, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6a018bc8eb544b8ca31c8156ef26f639", async() => { } ); __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties); __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml" __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5230, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 51, true); WriteLiteral("<span class=\"sampleName\">PivotClient / Olap</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to bind the pivot data, which is in JSON format at script-side.\">\r\n"); EndContext(); } ); BeginContext(327, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(354, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(356, 981, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "677d1e23800c43fcb75f8c64812abd8b", async() => { BeginContext(559, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(565, 31, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a500e2d54e442a6b5015cb10f5370d0", async() => { } ); __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize); __Syncfusion_JavaScript_PivotClientSize.Width = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 715, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42874fa5787c4975bb9e9467b1605d48", async() => { BeginContext(722, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(732, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1710b0f81c294fa8933529b04b39c0e3", async() => { BeginContext(746, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(760, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e73c29e29d64440f85acc5629f9b83b4", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(832, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(857, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(867, 136, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c53b43ab9fca4dafa43bda63e987c1be", async() => { BeginContext(884, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(898, 77, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6fb1e3f84194d4a9f664705eae18471", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(975, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1003, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1013, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d585fc93da345b49da6fb61a2faf261", async() => { BeginContext(1029, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1043, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79cf27c8c2d44dbe99e9e1f5d62b0e38", async() => { BeginContext(1072, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1090, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f5f5aa227a8048dfb891e6540eca372f", async() => { BeginContext(1102, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1124, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d681d25cc9294e4f9969b02c6300c506", async() => { } ); __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems); __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1207, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1238, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Olap.cshtml" __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1268, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1295, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_PivotDataSource.Data = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1317, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1337, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1365, 1678, true); WriteLiteral(@" <script type=""text/javascript""> function setChartProperties(args) { this._pivotChart.model.load = ""loadTheme""; this._pivotChart.model.preRender = ""preRender""; if (args._successAction == undefined || args._successAction == ""Filter"") { this._pivotChart.model.legend.rowCount = 2; this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 }; this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } }; } } function preRender(sender) { sender.model.border.opacity = 1; if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") { sender.model.background = ""white""; sender.model.chartArea.background = ""white""; } else { sender.model.background = ""black""; sender.mo"); WriteLiteral(@"del.chartArea.background = ""black"" } } function Export(args) { args.url = ""ExportPivotClient""; } function reportSettings(args) { if (args.fetchReportSetting) args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else if (args.loadReportSetting) args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; else args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap""; return args; } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3068, 205, true); WriteLiteral("\r\n <style>\r\n #PivotClient1 {\r\n min-height: 275px; \r\n min-width: 525px\r\n }\r\n .cols-sample-area {\r\n width: 100% !important;\r\n }\r\n </style>\r\n"); EndContext(); } ); }